How can I add functionalities to Sublime Text 2? - plugins

I recently discovered this Sublime Text editor, and since I love to code with it, I would like to add more custom functionalities to it.
Is it possible to use some scripting language to enhance its core features? I found some python references on the main folder, but I didn't find anything useful in the documentation on the official site. I guess the editor is written in Python?
Until now I managed only to add custom snippets, but that's not what I'm looking for.
Any help?

I figured it out anyway, looks like I didn't look well enough in the docs.

Related

VS Code formatting plugins

Is there a way in VS Code to format code according to the style that a person prefers? I guess there might be a plugin for this sort of thing but I've not found that.
For example, I prefer 'K&R' coding style while a colleague prefers 'Whitesmiths' style. When we share code or functions it would be nice to autoformat code into the style that each prefers.
This does not seem like it should be so difficult for a plugin to do except that coding style also has to parse the language of the code, so Whitesmiths PowerShell is going to be different from Whitesmiths on Perl I would imagine.
Are there any plugins like this (or internal functionality in VS Code - it's a very comprehensive tool without installing any plugins of course!) that people use regularly like this?
In contrast to its name, "JIndent" (commercial) is a tool I've been using for the exact purpose you're asking about.

Human editable snippet store in eclipse

I am looking for a easier way to manage my eclipse code snippets. I know and have used Eclipse's template and snippets features. But as far as I have found, they can only be exported and imported as XML files.
Since I use many versions of eclipse and I keep migrating between machines managing the snippets is a hassle. I am looking for a UltiSnips like method to manage these snippets/templates. Is there one?
I also looked at snip2code, but it didn't appeal to me because I sometime work offline. Also, I want to have much greater control over the snippets using version control.
Oh well! I couldn't find anything that matched the set of requirements I had. So, I've ended up creating my own.

ckeditor plugin for custom links / tags

I'm using CKeditor 3.6 and find myself in need of writing a simple plugin. What I need is a button that works much like the format buttons (bold, italic, etc.) except that it will turn this:
SelectedWord
not into, say,
<b>SelectedWord</b>
but into:
SelectedWord
I've tried looking into the various plugins that come with CKeditor, but quite frankly, they are more confusing then helpful. I've read the tutorials, I know the basics of writing a plugin, but what eludes me is the functionality itself.
You are going to have to hack the CKEditor code base, but let me tell you that hacking around ckeditor is not so difficult. Also, there are versions of the older fckeditor floating around. Compare the two and see which one would be easier to hack for your mod. I have had to use the older version specifically for creating pinholes against Coldfusion so I could use the file upload segment of the tool. And in another case to function against domain cookies, because of security issues with regular cookies. FCKEditor and CKEditor has never been a clear install for me with the base product. I hope this is somewhat helpful.

How can I use eclipse code style to highlight my code in wordpress

I'd like to use Easy Google Syntax Highlighter in my wordpress blog. Because often I will paste some java code in my blog. But I don't like the default style of Easy Google Syntax Highlighter, how can I use the eclipse java code style ?
Thanks
I recommend keeping an eye out for a good Pygments plugin for Wordpress.
The following URL is a blog post by Gwynne Raskind talking about a Pygments plugin she's made but has not released yet - it's currently pending clarification on licensing and the post was written just yesterday so it's definitely alive.
http://blog.darkrainfall.org/highlighting-source-code-in-wordpress-with-pygments/
EDIT: I know it's not "eclipse style" but to get Eclipse-style syntax highlighting you'll likely have to rewrite stuff on your own. Since Pygments highlighting is crazy-awesome I thought this might be a good alternative.
ANOTHER EDIT: If you use java, http://www.java2html.de/applet.html might be useful!
You may have to edit the language files, in the /Scripts folder. There appears to be no quick way to 'theme' it though and looking at the files it would be a time consuming process to edit the colors for each language.

OpenOffice syntax highlighting

I have some big documentation to do that will contain pieces of code I'd like to give the conventional "coding language" syntax highlighting. I've searched the styles feature to do such a thing, but there is no way to do that (in fact I could only found a forum where people were fighting about adding this feature or not, but this is not the point).
There is an abandoned extension for OpenOffice, but using it freezes my installation of OpenOffice.
What's the easiest way to do this? Should I try to recompile the extension and debug it (although I'm already having a hard time compiling another Java project), or maybe I should use a macro? How to implement this?
One possibility is to use one of the many code to html tools out there and then include the html in your OpenOffice document (using "File..." on the Insert menu).
One possibility is highlight. Vim has a :TOhtml command that will convert the current file to syntax highlighted html using the current colour scheme. I've not tried it, but this looks promising. There are also a few online ones, such as this. I'm sure there are a great many other options.