How to turn off sublime auto-completion

下次还敢
Release: 2024-04-03 14:33:13
Original
756 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 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
Copy after login
  1. Changetruetofalse:
"auto_complete": false
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:
.my-custom-scope
Copy after login
  1. In thePreferencesfile, add the following line:
"auto_complete": { ".my-custom-scope": false }
Copy after login

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!

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
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!