Sublime Forum

Example plugin doesn't work

#1

Hello,

I’m trying to develop some plugin (and understand how all this works), but I can’t get the example plugin to work.

Here’s what I do

  1. Tools > New plugin
  2. Save it to st2/Packages/User/test.py
  3. Open console
  4. Typing view.run_command(“Example”)
  5. Nothing happens.

Is there something I’m missing ?

0 Likes

#2

Try view.run_command(“example”)

0 Likes

#3

Hello, thanks for the help.

I had already tried with lowercase, with no result.

I’ve renamed the example plugin to “plop.py” and it’s working. It seems that “test.py” was the name to avoid :smile:

0 Likes

#4

A little more information :

ST2 build 2068 on OSX Snow Leopard :wink:

0 Likes