Rob McBroom mailinglist0@skurfer.com wrote:
The fancy ?new? web preview, not the built-in boring one. :)
I'm not sure what you mean by that, for all I know the features you're talking about are available in the built-in web preview?
OK, so they're both bundled with TextMate, but there's the one that's on the application's Window menu (which is what I meant by ?built-in?) and then there's the one that uses stuff in the support folder.
Out of curiosity, do you consider the Web Preview enabled via Application Support/Textmate to be "fancy" just because it has a different theme, or does it have some other codebase?
The reason I'm asking is that a few months ago the option to run WebMate, the WYSIWYG editor, disappeared from my "boring" Web Preview and I've been unable to conjure it back:
http://lists.macromates.com/textmate/2010-July/031152.html
I'm wondering if I should be trying this other, "fancy," Web Preview? If it's as simple as downloading a Theme that reveals the "Enable live editing" link, I'll be a happy camper.
jon ______________________________ Still Water--what networks need to thrive. http://still-water.net/
On Aug 22, 2010, at 10:59 AM, Jon Ippolito wrote:
Out of curiosity, do you consider the Web Preview enabled via Application Support/Textmate to be "fancy" just because it has a different theme, or does it have some other codebase?
I assume they're both rendered by the system's WebKit in the end, but the themed one gets run through some Ruby scripts first.
Which is "better" depends on what you're previewing. For something with basic paragraph, header, pre tags, etc. (like the output from Markdown) it's nice to have the themes. If you're doing proper web development, the "built-in" preview is probably preferable as it doesn't inject any surprises into your styles.
Umm... How does one evoke the "Application Support" version of Web Preview?
eo
On Aug 23, 2010, at 5:32 AM, Rob McBroom wrote:
On Aug 22, 2010, at 10:59 AM, Jon Ippolito wrote:
Out of curiosity, do you consider the Web Preview enabled via Application Support/Textmate to be "fancy" just because it has a different theme, or does it have some other codebase?
I assume they're both rendered by the system's WebKit in the end, but the themed one gets run through some Ruby scripts first.
Which is "better" depends on what you're previewing. For something with basic paragraph, header, pre tags, etc. (like the output from Markdown) it's nice to have the themes. If you're doing proper web development, the "built-in" preview is probably preferable as it doesn't inject any surprises into your styles.
-- Rob McBroom http://www.skurfer.com/
On Aug 23, 2010, at 10:45 PM, Eric O'Brien wrote:
Umm... How does one evoke the "Application Support" version of Web Preview?
By default, ⌃⌥⌘P is assigned to "Show Web Preview" on the Window menu. Some commands override this keyboard shortcut and call something else (involving a system of shell scripts, Ruby, CSS, etc). I believe this something else is what was referred to as the "Application Support" version.
Several commands use this version over what I call the "built-in" version (from the Window menu). Try them both out to see the difference.
hello all - I have yet another question!
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
forgive me if this is an obvious question - I'm very new to Java and still trying to find a unified IDE that works for me. TM has over the last 2 years become my 'go-to' app for development and I'd love to see an in-app solution.
thanks! bennett
On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.
I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate. I suspect it comes with, as I don't see it in my App Support folder.
+dru
On Aug 25, 2010, at 12:06 PM, Dru Kepple wrote:
On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.
I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate. I suspect it comes with, as I don't see it in my App Support folder.
+dru
That bundle comes packaged with TM.
Regards,
-Josh ____________________________________ Joshua Kehn | Josh.Kehn@gmail.com http://joshuakehn.com
Thanks Dru,
yes, of course I've tried that - and it works well enough to build and run the app but it doesn't produce a java .class file like you get when you use 'javac' in UNIX.
and with Applets it won't work at all. for example, I get the following error when trying to compile ("build"?) an Applet named "Einstein.java" into a java .class file:
CLASSPATH=/var/folders/lL/lLsF6qXPGzqqhhc4QsmSnk+++TI/-Tmp-//tm_javamate.22617: java -Dfile.encoding=utf-8 Einstein
then it hangs.
it seems to me like TM is looking for the Java SDK files on my machine so that it can run the compiler but it's not finding it in the CLASSPATH...
but I'm a total noob so I really don't know.
assistance?
bennett
On Aug 25, 2010, at 9:06 AM, Dru Kepple wrote:
On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.
I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate. I suspect it comes with, as I don't see it in my App Support folder.
+dru
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
Sorry, don't do much Java development (as in, none at all), so I really don't know.
+dru
On Aug 25, 2010, at 12:02 PM, plastichairdoo wrote:
Thanks Dru,
yes, of course I've tried that - and it works well enough to build and run the app but it doesn't produce a java .class file like you get when you use 'javac' in UNIX.
and with Applets it won't work at all. for example, I get the following error when trying to compile ("build"?) an Applet named "Einstein.java" into a java .class file:
CLASSPATH=/var/folders/lL/lLsF6qXPGzqqhhc4QsmSnk+++TI/-Tmp-//tm_javamate.22617: java -Dfile.encoding=utf-8 Einstein
then it hangs.
it seems to me like TM is looking for the Java SDK files on my machine so that it can run the compiler but it's not finding it in the CLASSPATH...
but I'm a total noob so I really don't know.
assistance?
bennett
On Aug 25, 2010, at 9:06 AM, Dru Kepple wrote:
On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.
I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate. I suspect it comes with, as I don't see it in my App Support folder.
+dru
_______________________________________________ textmate mailing list textmate@lists.macromates.commailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
_______________________________________________ textmate mailing list textmate@lists.macromates.commailto:textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
It does produce class files, it just stores them in a temp dir.
There is nothing currently to do what you want. This quickly becomes a slippery slope as you need more features and you are better off having a build that is not tied to a particular development environment.
I'd suggest looking at (in order of personal preference):
Gradle - http://www.gradle.org/ Maven - http://maven.apache.org/ Ant - http://ant.apache.org/
The hang you are experiencing is because of tm_interactive_input.dylib… it currently has issues with any Java that uses Swing classes.
You can disable it by running (from within TextMate):
mv "$TM_SUPPORT_PATH/lib/tm_interactive_input.dylib" "$TM_SUPPORT_PATH/lib/tm_interactive_input.dylib.off"
On 26/08/2010, at 5:02 AM, plastichairdoo wrote:
Thanks Dru,
yes, of course I've tried that - and it works well enough to build and run the app but it doesn't produce a java .class file like you get when you use 'javac' in UNIX.
and with Applets it won't work at all. for example, I get the following error when trying to compile ("build"?) an Applet named "Einstein.java" into a java .class file:
CLASSPATH=/var/folders/lL/lLsF6qXPGzqqhhc4QsmSnk+++TI/-Tmp-//tm_javamate.22617: java -Dfile.encoding=utf-8 Einstein
then it hangs.
it seems to me like TM is looking for the Java SDK files on my machine so that it can run the compiler but it's not finding it in the CLASSPATH...
but I'm a total noob so I really don't know.
assistance?
bennett
On Aug 25, 2010, at 9:06 AM, Dru Kepple wrote:
On Aug 25, 2010, at 2:39 AM, plastichairdoo wrote:
I'm wondering if I can use TM to compile my .java apps (and applets) into .class files... at the moment I'm writing in TM and then compiling in Terminal using 'javac' - but it'd be much more convenient if I could do the whole thing in TM.
Well, I don't know from experience, but the Java bundle does have a "Compile and Run" command, bound to Command-R.
I can't for the life of me remember if I installed the Java bundle or if it comes with TextMate. I suspect it comes with, as I don't see it in my App Support folder.
+dru
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate