Home>Article>Development Tools> There is no way to cancel the option of sublime auto-completion.
How to cancel the autocomplete function in Sublime Text? Turn off autocomplete: In Preferences >Settings, set "auto_complete" to "false". Limit autocomplete: Disable based on file type: Add a trigger for a specific file type in Settings, such as "source.http". Disable based on trigger character: Specify a specific trigger character in Settings, such as "." Change the delay: Increase the "auto_complete_delay" delay in Settings to trigger the autocomplete feature less frequently.
How to cancel the autocomplete function in Sublime Text?
Turn off autocomplete:
To turn off autocomplete in Sublime Text, follow these steps:
"auto_complete": true
true
tofalse
.Restrict autocomplete:
If you don’t want to turn off autocomplete completely, you can also restrict it by:
1. Disable autocomplete based on file type or range:
In the JSON settings file, add the following code:
{ "auto_complete_triggers": [ { "selector": "-source.http", "characters": "." } ] }
This will disable in non-HTTP files Trigger autocomplete functionality. You can enable autocomplete by replacing-source.
withsource.
.
2. Disable autocomplete based on trigger characters:
In the JSON settings file, add the following code:
{ "auto_complete_triggers": [ { "characters": "." } ] }
This will disable autocomplete based on trigger characters. Autocomplete function triggered when dot (.) is used as trigger character. You can specify additional characters to disable specific trigger characters.
3. Change the delay time:
In the JSON settings file, find the following line:
"auto_complete_delay": 200
Change 200 to a larger number to Increase the delay required to trigger autocomplete.
The above is the detailed content of There is no way to cancel the option of sublime auto-completion.. For more information, please follow other related articles on the PHP Chinese website!