Home Download Buy Blog Forum Support

FONTS & COMPILING JAVA

FONTS & COMPILING JAVA

Postby ilnaeas on Tue Sep 13, 2011 5:15 am

Hi there,


I was using Sublime 1.4 and I had it all configured properly and then I bought Sublime and thought I would try and upgrade to the newest version, only I am having some problems getting it to work in the new version...

It looks like the way that things were parsed have changed, so I no longer can use the pieces of code I have snagged from on the interwebs.

1) I want to be able to compile and run my java programs, and before I used to be able to hit f7 and then f6 and it would do it all for me... I had this code added to the User Key Bindings file:

Code: Select all
<binding key="f6" command="exec '' 'java $BaseName'"/>


How should I have it set up to do this with the new parsing system?

And less importantly 2) What is the new syntax for setting your font? I tried the old way and Sublime just freaked out at me.


Thanks for the help in advanced,

Kelan
ilnaeas
 
Posts: 6
Joined: Tue Sep 13, 2011 5:10 am

Re: FONTS & COMPILING JAVA

Postby jps on Tue Sep 13, 2011 5:59 am

For changing the font, take a look at http://www.sublimetext.com/docs/2/font.html

To run your Java programs, you'll need to setup a build system. Take a look at Packages/Java/JavaC.sublime-build for something close to what you need. Also take a look at sublimetext.info: http://sublimetext.info/docs/en/core/build_systems.html
jps
Site Admin
 
Posts: 3062
Joined: Wed Mar 19, 2008 12:33 pm

Re: FONTS & COMPILING JAVA

Postby ilnaeas on Tue Sep 13, 2011 6:23 am

Thanks for the help with the fonts, that was exactly what I was looking for.

EDIT: I got the other thing working too, so thanks!!

Now, if only I could use an input panel.... then I would never have to use anything else... :)
ilnaeas
 
Posts: 6
Joined: Tue Sep 13, 2011 5:10 am


Return to Technical Support

Who is online

Users browsing this forum: No registered users and 19 guests