Alexandre Borela

Results 110 comments of Alexandre Borela

@Ding-Fan I am researching the sublime api to fix this one through a plugin.

I created a plugin https://github.com/borela/naomi/pull/92 that should be able to toggle JS/JSX comments, the code is here https://github.com/borela/naomi/blob/feature/comment-toggle-plugin/plugin/ToggleJsxComment.py I would love feedback before merging and realeasing it, can you guys...

@Ding-Fan You need to clone the repository or download the package through github https://github.com/borela/naomi/archive/feature/comment-toggle-plugin.zip at the directory: * **OS X:** ~/Library/Application Support/Sublime Text 3/Packages * **Linux:** ~/.config/sublime-text-3/Packages * **Windows:** %APPDATA%\Sublime...

I am doing some final tweaks, it looks like I got most edge cases, almost ready to release it.

I did some tests and it looks like it is detecting correctly when to add the braces even for block comments, released it: https://github.com/borela/naomi/releases/tag/v3.8.0 package control should pick the update...

@franciscolourenco I'll take a look at it at the office.

@franciscolourenco Please check if the console (View > Show Console) shows an error when you try to comment, I am not able to reproduce it on my machine.

3157 I'll try with an older version.

Found the issue, I forgot to override the shortcut for macs, the line https://github.com/borela/naomi/blob/master/Default.sublime-keymap#L229 only works for Linux and Windows while the default package uses: ``` { "keys": ["super+forward_slash"], "command":...

@franciscolourenco https://github.com/borela/naomi/compare/v3.10.1...v3.10.2 published the patch, as the shortcut for OSX was not replaced, in your case, it was using sublime's default behavior. It should be working now.