hi, you should expect to see hello world inside your edited file, for example, if the cursor was at the end of the last line of code, you should expect:
import sublime, sublimeplugin
# This simple plugin will add 'Hello, World!' to the end of the buffer when run.
# To run it, save it within the User/ directory, then open the console (Ctrl+~),
# and type: view.runCommand('sample')
# See http://www.sublimetext.com/docs/plugin-basics for more information
def run(self, view, args):
view.insert(view.size(), "Hello, World!\n")Hello, World!
do you see it? the "Hello, World!"?
if it doesn't work for, you should check the following:
1. open the console
2. do a little change on your script (add empty line for example)
3. now save the file
4. look at the console do you see errors? it this python parser gives errors at this stage, the script won't even run so later nothing will happen
if you want (for example for debug) to print to console, use
print "Hello, World!\n"
this example was constructed that way, because most plugins are for help you on your current edited file: do some actions, parsing etc.