Added vscode settings

This commit is contained in:
Kristofers Solo
2022-04-28 20:54:44 +03:00
parent 245c3ca779
commit 837a479d82
25004 changed files with 2499800 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
"""A plugin for Sublime Text to enhance f-string editing experience.
Specifically, this plugin simplifies typing of escaped curly braces
in an f-string:
{|}, where | is for cursir, gets replaced with
{{|, when '{' is typed again.
"""
# Used by `settings/sublime/Default.sublime-keymap`.
import sublime_plugin
class FstringbraceCommand(sublime_plugin.WindowCommand):
def run(self):
view = self.window.active_view()
view.run_command('right_delete')
view.run_command('insert', {'characters': '{'})