Sublime Text remove python new autocomplete property

I like the sublime text. I know that I can completely disable autocomplete in the settings, but I just want to disable one of the autocomplete options.

When you introduce the @property decorator in python, you get an autocomplete option called New Property, which, if selected, will generate getter and setter for you. It ultimately becomes pain than good for me. Any ideas on how to remove this autocomplete option?

+5
source share
1 answer

Sublime text 2

You can remove Packages/Python/New-Property.sublime-snippet . The location of the package directory depends on the system you are using:

  • Windows: %APPDATA%\Sublime Text 2\Packages
  • Linux: ~/.config/sublime-text-2/Packages
  • OS X: ~/Library/Application Support/Sublime Text 2/Packages

Sublime Text 3

In Sublime Text 3, the structure is slightly different. Personally, I do not use it yet, but this can give you some idea on how to achieve the same result in ST3.

By the way, these solutions are not perfect. When you reinstall or update Sublime Text, the snippet will return. But I do not know how to disconnect a fragment through the user configuration.

+2
source

Source: https://habr.com/ru/post/1208767/


All Articles