Home>Article>Development Tools> How to turn off sublime auto-completion

How to turn off sublime auto-completion

下次还敢
下次还敢 Original
2024-04-03 14:33:13 771browse

To turn off Sublime Text’s auto-completion feature, you can do the following: Cancel the current suggestion directly: Press the Ctrl Space key. To permanently turn off: Set the "auto_complete" value to false in the Preferences.sublime-settings file. Close based on a specific scope: Set the "auto_complete" value to false for a specific scope.

How to turn off sublime auto-completion

How to turn off the automatic completion function of Sublime Text

Turn it off directly:

  • Press theCtrl Spacekey to cancel the current suggestion.
  • Press theEsckey to turn off the auto-complete function.

Permanently turn off:

To permanently turn off Sublime Text’s auto-completion feature, follow these steps:

  1. Turn it onPreferencesfile (.sublime-settingsin Windows,Preferences.sublime-settingsin macOS and Linux).
  2. Locate the following line:
"auto_complete": true
  1. Changetruetofalse:
"auto_complete": false
  1. Save the file and restart Sublime Text to apply the changes.

Turn off based on a specific range:

You can disable autocomplete for a specific range only by setting the autocomplete value for that range:

  1. Create a new range selection, for example:
.my-custom-scope
  1. In thePreferencesfile, add the following line:
"auto_complete": { ".my-custom-scope": false }

Autocompletion will now be disabled as long as the cursor is within .my-custom-scope.

The above is the detailed content of How to turn off 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