Sublime Forum

Sublime command from python plug-in

#1

can i run sublime command from python plug-in?

0 Likes

#2

I’m not quite sure what you mean… are you asking if sublime.runCommand() can be called from within a plugin inheriting from TextCommand?

0 Likes

#3

just tried to run the command findAllUnder and couldn’t…

[code]>>> sublime.runCommand(‘findAllUnder’)

view.runCommand(‘findAllUnder’)[/code]

nothing…

0 Likes

#4
window.runCommand('findAllUnder')

It’s just hiding from you :slight_smile:

0 Likes

#5

got it thanks

0 Likes