Sublime Forum

Make Auto Semicolon Work when Inside Strings - Python Help

#1

I’m not familiar with python so I was hoping someone could help me out with this.

I recently stumbled across a plugin but unfortunately the only thing letting it down is that it doesn’t work in some instances for example I want it to work in these examples where | represents the cursor.

return view('auth.login|') <-- I want the semicolon to jump to here.

filter(function(){ return true;| }) <-- I want the semicolon to jump to here

And here is the code I need tweaking https://raw.githubusercontent.com/vivait/SublimeAutoSemiColon/master/AutoSemiColon.py

Thank you :pray:

0 Likes