开发者

Automatically expand Java directory structures in NERDTree

开发者 https://www.devze.com 2023-01-17 22:53 出处:网络
Java by convention is pretty keen on directories. Because of this, all the code in my current Grails project is nested 5 directories deep, e.g....开发者_StackOverflow社区

Java by convention is pretty keen on directories. Because of this, all the code in my current Grails project is nested 5 directories deep, e.g....开发者_StackOverflow社区

~controllers
    ~com
        ~companyname
            ~teamname
                ~productname
                 |-[code actually here]

There's a similar folder structure under every core Grails directory (services, taglib, unit-tests), which means an awful lot of hitting o and j repeatedly.

Is there any clever way this can be automated and mapped to a key combination?


There is a clever way using NERD Tree help: O (shifted) recursively opens a node.

To know NERDTree key mappings, press ? when in NERD Tree window.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号