Hello world !
So I’m new in Sublime text plugins and I’m trying to get all the .cs and .dll files in the file directory
I have two problems :
_The first is I have no feedBack from sublime text when an error occurs (is it normal ?)
_The second is from my code (i tested it in the python idle) :
[code]import sublime, sublime_plugin
import os
class OpenCompilerCommand(sublime_plugin.TextCommand) :
def run(self, edit) :
file_name=self.view.file_name()
path=file_name.split("\")
path.pop()
command = "csc /out:Main.exe"
dllArray = ]
CodeFileArray = ]
pathToDir = ""
for dir in path:
pathToDir += dir + "\\"
sublime.error_message(str(pathToDir))
[/code]
don’t really know what’s wrong…
If you could also give a link for a beginner tutorial (I already googled it but… no good results)
Thanks !