I am trying to disable or remove the
autocomplete
feature in Sublime Text 3.
I did try to disable it by:
"auto_complete": false
in settings but this didn't work.
Please Help.
The list is comma separated. Make sure to put a comma after any preceding items.
{
"font_size":17,
"auto_complete": false
}
Make sure you restart the application afterwards.
Here is an unofficial doc which states the following:
Note that if you choose to add anything to your personal settings file, the following rules apply:
-The last preference must not have a comma after it
-All other preferences must have commas after them
Failure to adhere to these rules will result in your personal settings file not working!
Preferences ▶ Settings:
"auto_complete": false
How to disable Auto Complete in Sublime Text (2&3)
Related
Here is my settings
"dictionary": "Packages/Language - English/en_US.dic",
"spell_check": true,
and it checks every languages.
it bothers me.
Open a file of the type you don't want to spell check in and choose Preferences > Settings - Syntax Specific from the menu to open the settings specific to that kind of file. In those settings, set spell_check to false to turn it off for those kind of files.
Alternately, you can also turn off spell_check in your main settings and do this to turn it on only in the types of files where you want spell checking, if you mostly want it off and only occasionally want it on.
I keep getting this annoying code help popup in sublime 3.
It seems to have only appeared recently. I'm not sure if it's part of sublime or some plugin.
Is there a way to disable this from showing?
EDIT:
Turns out this is to do with the package Naomi. Does anybody know if this is a configurable setting with this package?
you need to do following steps:
Go sublime Menu bar
select preferences
add this following code to user file and save it.
Blockquote
{
// Controls auto pairing of quotes, brackets etc
"auto_match_enabled": false,
// Enable visualization of the matching tag in HTML and XML
"match_tags": false,
}
I installed sublime, and disable completions popup by adding
"auto_complete": false
to the preferences.
You get to the preferences by: Menu Preferences -> Settings. There, you are supposed to edit the User Preferences file by adding custom prefs like the above snippet between the existing curly braces.
I have sublime text 3 with SFTP plugin installed. Using it im able to download the code but the python files that are opened are not aligned properly.
I opened a ticket in SO but its not resolved.
https://askubuntu.com/questions/959866/files-improperly-aligned-after-transfer-via-ftp?noredirect=1#comment1533479_959866
Not sure I need to change in my py files either in the server or the editor. The lines are not aligned only after the SFTP.
My SFTP settings:-
"translate_tabs_to_spaces": true,
"detect_indentation": false,
"tab_size": 8,
"tab_width": 8
Indentation changes when viewing files on different computers or in different software are indicative of using tabs for indentation, as unlike spaces the amount of space that a tab takes up changes based on usage and configuration settings, and is one of the more hotly fought Holy Wars in the development arena.
As you have correctly surmised, you need to tell Sublime how wide you think a tab should be, since it's defaults are out of sync with what you expect.
For the most part your issue is that the settings you've mentioned in your post aren't SFTP Settings (the available settings are in the documentation). SFTP just moves files around as a series of bytes, it's not involved with the actual display and editing of anything.
In order to get things to work better, you should put those settings in your user preferences. That's Sublime Text > Preferences > Settings in the menu (i.e. press ⌘+,) and add them to the settings pane on the right.
That said, note that tab_width is not a setting that Sublime understands by default, although the other three you mentioned are valid. Additionally those settings will cause Sublime to expand all tabs into 8 spaces, removing the tab characters entirely.
Assuming you don't want your files to be indented with tabs any longer, that's what you want. If you prefer tabs, you should set translate_tabs_to_spaces to false instead, so that tab characters are retained.
I am using the Fortran text highlighting package for ST3, and I am making a theme using this fantastic homepage.
But see the image below. Where there are tab characters within the code (not indentation), those are colored in pink. How can I change that color, or remove it?
In the preferences, default file settings you get this instruction for changing the width and color of indent guides.
// Set to false to turn off the indentation guides.
// The color and width of the indent guides may be customized by editing
// the corresponding .tmTheme file, and specifying the colors "guide",
// "activeGuide" and "stackGuide"
"draw_indent_guides": true,
With some trial and error I found that the property is indeed a variable on this page and it's called Invalid. That is also the name in the .tmTheme file. But on the site there are no such characters in the sample code (that I saw) and the name isn't obviously related to the tab characters in my code.
The pink was in fact the default Invalid color on the theme editor site.
You are supposed to remove those, since they are not supposed to be there. They are referenced as Invalid token which can show signs for deprecation, unreadable code etc. It is supposed to look like:
diff = first - second
and not
diff = first - second
If you really want to overwrite that, you can edit the syntax definition file or overwrite it in your User folder.
Go to Preferences -> Browse Packages -> Fortran -> grammars
Open FortranModern.sublime-syntax or FortranFixedForm.sublime-syntax
Remove the following lines
# tabs are illegal
- match: \t
scope: invalid.illegal.tab.fortran
Done?
PS: A pull request to fix this has already been merged so next builds should be fine
I am using sublime text 3 build 3059 , brackethighlighter plugin is installed but not working how to make it work ? i tried several solutions but no effect.
here is screenshot:
The plugin is working - you'll notice in your screenshot that the opening and closing {} brackets are bold underlined in white (the default style), and are also shown in the gutter, next to the line numbers. If you want to customize the display more, first open Preferences -> Package Settings -> Bracket Highlighter -> Bracket Settings - User. It will be blank at first. Next, open ... -> Bracket Settings - Default. Copy the entire contents of Default to User, then close Default (you can't edit it in Sublime Text 3).
Next, check out the Bracket Highlighter Sublime Text 3 docs and read all about how to customize the plugin to your heart's content. Good luck!