-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"fold_partial_line_comments": false #8
Comments
Hi :) So let me get this straight, what you're requesting is an option that would turn the following: if rainy: #this is a partial line comment
use_umbrella() # this is another partial line comment into if rainy: (..)
use_umbrella() (..) Where Can you talk a bit about your use case? |
Hi @oskarols, First let me thank you, for the current implementation and Quick Response to feature request. Making the requirements more clear, with few additional option like user customizable keyboard shortcuts and literate programming. sample links :: literate >> source, literate doc >> tool I don't know how busy you are or how much time it will take to implement this. Just pumping out my thouthts on FoldComments to make it the best add on tool settings
customizable keyboard shortcuts{ "keys": ["super+shift+c"], "command": "toggle_fold_comments" } # Works as per config file New shortcuts that must act on full text of active file or on user selected code by overriding the settings found in config file. This gives super flexibility ! especially when working with big files and monitor placed vertically / in huge monitors (where user can see more line of code at once).
Input 1: #This is a single line comment
# This is ALSO a single line comment ( whitespace prefix )
if rainy # This is a partial line comment
useUmberlla() # This is a another partial line comment Output:
Input 2: #This is a single line comment
# This is ALSO a single line comment ( whitespace prefix )
if rainy # This is a partial line comment
useUmberlla() # This is a another partial line comment output:
Input 3: #This is a single line comment
# This is ALSO a single line comment ( whitespace prefix )
if rainy # This is a partial line comment
useUmberlla() # This is a another partial line comment output:
Input 4:
output:
Input 5:
output:
Thanks in advance |
When I'm writing code for the Factor programming language in Sublime, I often have a comment after each line to represent the state of the datastack after executing that line: : ccval ( seq -- n ) ! { 6 12 25 1 }
0 [ over empty? ] [ (ccval) ] until ! { } 1286
nip ! 1286
; It would be great to be able to toggle those comments' visibility. So I searched packagecontrol and wound up here. Thanks for this project! |
Feature Request
slight change to current option
new option
Thanks for current implementation 👍
Thanks in advance for new 😉
The text was updated successfully, but these errors were encountered: