Home >Development Tools >sublime >What to press after sublime input

What to press after sublime input

下次还敢
下次还敢Original
2024-04-03 18:42:141294browse

What shortcut keys do you press after inputting in Sublime Text?

In the Sublime Text editor, after entering characters, pressing the Tab key will trigger automatic completion by default. Fully functional, i.e. displays a list of available variables, methods and keywords for selection.

Customize the auto-complete shortcut key:

You can customize the auto-complete shortcut key according to your own preferences:

  1. Open Sublime Text's "Preferences" file (Preferences > Settings-User)
  2. Add or modify the following code in the file:
<code>{
    "auto_complete": {
        "complete_on_dots": false,
        "auto_complete_commit_on_tab": true,
        "key": "ctrl+space"
    }
}</code>
  • "complete_on_dots": Controls whether auto-completion is triggered when the '.' character is entered (set to false to disable)
  • "auto_complete_commit_on_tab": Controls pressingTab Whether the key automatically submits auto-completion suggestions (set to true to enable)
  • "key": Specifies the keyboard shortcut that triggers auto-completion (for example, " ctrl space")

According to your settings, after entering characters and pressing the specified shortcut key, the auto-complete function will be triggered.

The above is the detailed content of What to press after sublime input. 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