Home>Article>Development Tools> There is no way to cancel the option of sublime auto-completion.

There is no way to cancel the option of sublime auto-completion.

下次还敢
下次还敢 Original
2024-04-03 14:30:22 814browse

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.

There is no way to cancel the option of sublime auto-completion.

How to cancel the autocomplete function in Sublime Text?

Turn off autocomplete:

To turn off autocomplete in Sublime Text, follow these steps:

  1. Click "Preferences" in the menu bar.
  2. Select "Settings".
  3. In the JSON file that pops up, find the following line:
"auto_complete": true
  1. Changetruetofalse.
  2. Save the file and close.

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:How to configure sublimegdb Next article:How to configure sublimegdb