Home Download Buy Blog Forum Support

Hyperfocus on functions

Hyperfocus on functions

Postby alairock on Tue Jun 26, 2012 8:56 pm

Let's say I am working on a particular function. It would be really nice to be able to hit a hotkey and all other code, except the function and function's doc-head, fades out --providing me only what I am working on. This reduces clutter in my workspace and keeps my focus on only exactly what I am working on.

Hope you like it!
Skyler
alairock
 
Posts: 1
Joined: Tue Jun 26, 2012 8:50 pm

Re: Hyperfocus on functions

Postby FichteFoll on Fri Jun 29, 2012 2:47 pm

You can fold the whole buffer by level using ["ctrl-k", "ctrl-1"] (which will fold everything up to the first level - that's as minimalistic as it can get) but you would have to unfold the code until you can see your function.

You can also select the code above your function (and below) and then press ["ctrl+shift+["] which will fold the current selection. Then you can ["ctrl-k", "ctrl-0"] to unfold everything. Do a find for "fold" on the default keybindings.
FichteFoll
 
Posts: 402
Joined: Fri Mar 16, 2012 11:49 pm
Location: Germany


Return to Ideas and Feature Requests

Who is online

Users browsing this forum: No registered users and 3 guests