jamalsenouci / sublimetext-syntaxfold

Sublime Text Plugin that provides a configurable command and popup for folding code based on syntax
MIT License
40 stars 6 forks source link

Nothing happens when i do "alt+*anything*" #29

Open Inocious opened 6 years ago

Inocious commented 6 years ago

Hello all, i downloaded this plugin today for sublimtext3 & install it but after that when i whrite `#pragma region enum WeekDay { Dimanche,Lundi,Mardi,Mercredi,Jeudi,Vendredi,Samedi };

pragma endregion`

and did "alt+1", but nothing happened... did i do something wrong ? Thx !!

DiacoDesign commented 6 years ago

try "alt+1" twice rapidly

AlLoud commented 6 years ago

Instead, you can open Preferences > Package Settings > Syntax Fold >Key Bindings - Default and copy the entire file and paste it to Key Bindings - User.

I changed my keys to:

[
  { "keys": ["alt+shift+h"],
    "command": "fold_all" },
  { "keys": ["alt+shift+s"],
    "command": "unfold_all"},
  { "keys": ["alt+s",],
    "command": "toggle_fold_current"},
]

Since Alt combinations with letters just access the top menu, I prefer this easy to remember/access keys: s for show/toggle and h for hide actions. You only need to press them once as well...