Posts

Showing posts from November, 2019

First Plugin !

Image
After a long engagement with the basic plugin that Sublime Text 3 makes for us using tool->developer->new plugin, and a bit of help from my brother and the internet, I have learned a few important things: 1.         We need to open a new folder where all the plugin files will be saved. The folder must be placed in the following path: C:\Users\USERNAME\AppData\Roaming\Sublime Text 3\Packages Notice  not  to create it in: C:\Users\USERNAME\AppData\Roaming\Sublime Text 3\Packages\User Because the plugin would not work (this was one of my big my issues). 2.         The plugin, which looks like this: .We need to save into the folder we created in (1) with the extension .py            This basic plugin is supposed to insert the "Hello, world!" string to the beginning of the file we are currently "standing" on while we executed the run command, w...

Welcome To Our Blog

Hello! This is our computer science final project blog. This is where we keep ourselves updated on every working process. Our project is to develop a plugin\package for Sublime Text 3 (an expansion of the existing "hover preview" package). Firstly, we needed to research about sublime because we never worked with that kind of text editor before. There are a lot of videos and documentation in the internet about sublime text and the popular packages you can install on it. The first issue we encountered was the lack of package developing tutorials online. We found a few basic ones like: http://docs.sublimetext.info/en/latest/extensibility/plugins.html https://cnpagency.com/blog/creating-sublime-text-3-plugins-part-1/ So, after we each installed sublime text 3, played with it a little and learned what we can from the information available online, it was time to look at the source code of popular packages and try to reverse engineer them (we ne...