Sublime Forum

How do I disable the # character in autocomplete comments for R

#1

Hi I’m using sublime text 3 to code R scripts, my problem is the autocomplete with the comments (#), it always make me made some errors, so I don’t want that lines that start with the character # show me the autocomplete option

how can I modified my sublime setting user to avoid the autocomplete only with the character # for comments in R ???

0 Likes

#2

I am no programmer and do not use R. Having said that, find the name of the scope of the comment line by pressing ctrl+alt+shift+p in Windows, or use the menu on the top. In your user settings, copy the line below adding a - scope.name.for.comments.in.r before the closing quotation mark.

"auto_complete_selector": "meta.tag - punctuation.definition.tag.begin, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
0 Likes