Hello,
i am new to Sublime and i am asking myself if it can help me to acomplish some things. At now i am totally overwhelmed by the amount of plug ins and features. So i hope you guys can point me to the right direction for this.
Well at first i tell you what i want to do:
- For a presentation i want to show/compare code snippets written in different languages. It’s importand that differences aren’t highlighted in the editor.
- I want to open 2 java and 2 perl files by default in the “2 column layout” (java in the left, perl in the rigtht column).
- During the presentation i want to jump to different line numbers in both columns using just one click.
For example if i want to show how feature xyz is implemented in both languages:
-
I want to open sublimetext. The java and perl files should be opened automatically in the specified column.
-
I want to click a button (or whatever) and:
- The java file x activated in the left column.
- Sublime jumps to line no. 200 in the java file.
- The perl file y is activated in the right column.
- Sublime jumps to line 150 in the perl file.
-
Then i will explain the stuff shown on the screen.
-
After that i want to click on another button an repeat the 2 previous steps to explain other code snippets.
I hope i was able to explain my needs. Do you think that this is even possible in ST2? I am currently using Notepad++ and a workaround involving windows batch files for this but it doesn’t really work well.
I saw the sidebar in ST2. Is it possible to place some “macros” in the sidebar wich accomplish these tings (without showing the opened files)? That would be great because the presentation could be given by any other “not so tecnical” person.