Skip to content

bphunter1972/FoldConditions

 
 

Repository files navigation

Sublime Text FoldConditions Package adding code folding for C/C++ conditinoal compile directives.

Install

$ https://github.com/GuyCarver/FoldConditions

Instructions

This package allows you to set a number of values as defined then fold the source file conditional compile directives based on those defines.

Key Bindings:

  • ctrl+k, d = Define the word under the cursor.
  • ctrl+k, u = Undefine the word under the cursor.
  • ctrl+k, l = List defines and remove selected
  • ctrl+k, ctrl+u = List defines and remove selected
  • ctrl+k, ctrl+d = Fold file.

Known Issues:

  • The last condition in a file does not always get expanded correctly.

TODO:

  • Nothing on the slate at the moment.

About

Sublime Text Conditional folding of C++ #ifdefs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published