Home > Development Tools > sublime > body text

How to turn off sublime auto-completion

下次还敢
Release: 2024-04-03 14:33:13
Original
821 people have browsed it

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 the Ctrl Space key to cancel the current suggestion.
  • Press the Esc key 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 on Preferences file (.sublime-settings in Windows, Preferences.sublime-settings in macOS and Linux).
  2. Locate the following line:
<code>"auto_complete": true</code>
Copy after login
  1. Change true to false:
<code>"auto_complete": false</code>
Copy after login
  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:
<code>.my-custom-scope</code>
Copy after login
  1. In the Preferences file, add the following line:
<code>"auto_complete": {
    ".my-custom-scope": false
}</code>
Copy after login

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!