to like doing something
Expresses liking an activity or situation, equivalent to 'to like doing' in English.
This pattern turns an action into a noun phrase using の, then marks it with が and states that you like it with 好き. The の acts like a nominalizer, making the verb phrase the subject of your liking. For example, 食べるの (eating) becomes the thing you like: 食べるのが好き (I like eating). It works with verbs in their dictionary form, and also with adjectives: 静かなのが好き (I like quiet places). With nouns, the pattern is not typically used; to say you like dogs, you would say 犬が好き. The pattern is very common in everyday conversation to talk about hobbies, preferences, and things you enjoy doing.