| From: Pradeep Krishnan | Date Sent: 2010-04-29 10:30:37 |
| Subject: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Hello All,
I would like the Lasso Studio to syntax highlight even HTML and JavaScript code but right now it is not doing it.
I am missing something or is there a way to enable Syntax Highlight for HTML and JS code in the Lasso perspective?
I am newbie in Eclipse and not sure if Content Type is what I need to setup.
Please throw some light and help me out.
Thanks in advance,
Pradeep
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 13:34:44 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
As far as I know, that is a function of other Eclipse plugins,
not the Lasso Studio for Eclipse plugin.
I use a package called "Eclipse IDE for Java EE Developers"
which includes plugins that do syntax highlighting for other
languages, but I don't know which of the plugins does HTML/JS
highlighting. Here is the list of plugins, so it is in this list:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/galileosr2
If you go to:
Preferences > General > Content Types
Under:
Text > HTML
and
Text > JavaScript Source File
Add new file associations:
*.lasso
*.inc
etc.
Then open the files with the appropriate HTML or JavaScript
editors (which your plugins provide). Voila! HTML and JS
syntax highlighting and code coloring.
--steve
On 4/29/10 at 12:30 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hello All,
>
>I would like the Lasso Studio to syntax highlight even HTML and
>JavaScript code but right now it is not doing it.
>I am missing something or is there a way to enable Syntax
>Highlight for HTML and JS code in the Lasso perspective?
>
>I am newbie in Eclipse and not sure if Content Type is what I need to setup.
>
>Please throw some light and help me out.
>
>Thanks in advance,
>Pradeep
>--
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 13:34:44 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
As far as I know, that is a function of other Eclipse plugins,
not the Lasso Studio for Eclipse plugin.
I use a package called "Eclipse IDE for Java EE Developers"
which includes plugins that do syntax highlighting for other
languages, but I don't know which of the plugins does HTML/JS
highlighting. Here is the list of plugins, so it is in this list:
http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/galileosr2
If you go to:
Preferences > General > Content Types
Under:
Text > HTML
and
Text > JavaScript Source File
Add new file associations:
*.lasso
*.inc
etc.
Then open the files with the appropriate HTML or JavaScript
editors (which your plugins provide). Voila! HTML and JS
syntax highlighting and code coloring.
--steve
On 4/29/10 at 12:30 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hello All,
>
>I would like the Lasso Studio to syntax highlight even HTML and
>JavaScript code but right now it is not doing it.
>I am missing something or is there a way to enable Syntax
>Highlight for HTML and JS code in the Lasso perspective?
>
>I am newbie in Eclipse and not sure if Content Type is what I need to setup.
>
>Please throw some light and help me out.
>
>Thanks in advance,
>Pradeep
>--
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Pradeep Krishnan | Date Sent: 2010-04-29 13:53:05 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Hey Steve,
I did as you suggested and Lasso code loses it syntax highlighting while the HTML and JS gets color highlighting.
| From: Bil Corry | Date Sent: 2010-04-29 15:07:47 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Pradeep Krishnan wrote on 4/29/2010 1:53 PM:
> I did as you suggested and Lasso code loses it syntax highlighting while the HTML and JS gets color highlighting.
I recall Steffan struggling with this. I don't know if he ever found a solution. You might ping him.
- Bil
| From: Bil Corry | Date Sent: 2010-04-29 15:07:47 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Pradeep Krishnan wrote on 4/29/2010 1:53 PM:
> I did as you suggested and Lasso code loses it syntax highlighting while the HTML and JS gets color highlighting.
I recall Steffan struggling with this. I don't know if he ever found a solution. You might ping him.
- Bil
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 15:33:40 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Yes. The HTML and JS editors are not Lasso code aware. Each
editor is only aware of its own syntax.
There might be a way to highlight multiple syntaxes within a
single editor, but I don't know what that would be. In BBEdit,
I use an AppleScript to toggle between HTML, Lasso and
JavaScript syntaxes on a file I am editing. But in Eclipse, you
can open the file in multiple editors, save after you make
changes, then switch tabs to view it in the other editors. It
works okay.
--steve
On 4/29/10 at 3:53 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hey Steve,
>I did as you suggested and Lasso code loses it syntax
>highlighting while the HTML and JS gets color highlighting. --
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 15:33:40 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Yes. The HTML and JS editors are not Lasso code aware. Each
editor is only aware of its own syntax.
There might be a way to highlight multiple syntaxes within a
single editor, but I don't know what that would be. In BBEdit,
I use an AppleScript to toggle between HTML, Lasso and
JavaScript syntaxes on a file I am editing. But in Eclipse, you
can open the file in multiple editors, save after you make
changes, then switch tabs to view it in the other editors. It
works okay.
--steve
On 4/29/10 at 3:53 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hey Steve,
>I did as you suggested and Lasso code loses it syntax
>highlighting while the HTML and JS gets color highlighting. --
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 15:33:40 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Yes. The HTML and JS editors are not Lasso code aware. Each
editor is only aware of its own syntax.
There might be a way to highlight multiple syntaxes within a
single editor, but I don't know what that would be. In BBEdit,
I use an AppleScript to toggle between HTML, Lasso and
JavaScript syntaxes on a file I am editing. But in Eclipse, you
can open the file in multiple editors, save after you make
changes, then switch tabs to view it in the other editors. It
works okay.
--steve
On 4/29/10 at 3:53 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hey Steve,
>I did as you suggested and Lasso code loses it syntax
>highlighting while the HTML and JS gets color highlighting. --
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 15:33:40 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
Yes. The HTML and JS editors are not Lasso code aware. Each
editor is only aware of its own syntax.
There might be a way to highlight multiple syntaxes within a
single editor, but I don't know what that would be. In BBEdit,
I use an AppleScript to toggle between HTML, Lasso and
JavaScript syntaxes on a file I am editing. But in Eclipse, you
can open the file in multiple editors, save after you make
changes, then switch tabs to view it in the other editors. It
works okay.
--steve
On 4/29/10 at 3:53 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>Hey Steve,
>I did as you suggested and Lasso code loses it syntax
>highlighting while the HTML and JS gets color highlighting. --
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Steve Piercy - Web Site Builder | Date Sent: 2010-04-29 15:50:05 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
To open in multiple editors, right-click on the file and select:
Open With > LassoScript Editor
Open With > HTML Editor
This opens two tabs simultaneously. Edit, save and toggle
between the two. Saved changes will appear in all tabs.
Note, the possible editors will only exist if you have the
Eclipse plugin for that editor, but I think most versions have
the HTML and JS editors by default.
--steve
On 4/29/10 at 3:33 PM, Web@[Protected] (Steve Piercy - Web
Site Builder) pronounced:
>Yes. The HTML and JS editors are not Lasso code aware. Each
>editor is only aware of its own syntax.
>
>There might be a way to highlight multiple syntaxes within a
>single editor, but I don't know what that would be. In BBEdit,
>I use an AppleScript to toggle between HTML, Lasso and
>JavaScript syntaxes on a file I am editing. But in Eclipse,
>you can open the file in multiple editors, save after you make
>changes, then switch tabs to view it in the other editors. It
>works okay.
>
>--steve
>
>
>On 4/29/10 at 3:53 PM, pkrishn2@[Protected] (Pradeep Krishnan) pronounced:
>
>>Hey Steve,
>>I did as you suggested and Lasso code loses it syntax
>>highlighting while the HTML and JS gets color highlighting. --
>>
>>
>
>-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
>Steve Piercy Web Site Builder Soquel, CA
><web@[Protected]> <http://www.StevePiercy.com/>
>
>
>--
>
>
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
-- --
Steve Piercy Web Site Builder
Soquel, CA
<web@[Protected]> <http://www.StevePiercy.com/>
| From: Nikolaj de Fine Licht | Date Sent: 2010-05-01 13:43:01 |
| Subject: Re: Lasso Studio not syntax highlighting HTML JS code | To: Lasso Studio Talk |
| Navigation: First Message | Previous Message | Next Message | Last Message | |
On 30/04/2010, at 00.50, Steve Piercy - Web Site Builder wrote:
> To open in multiple editors, right-click on the file and select:
>
> Open With > LassoScript Editor
> Open With > HTML Editor
>
> This opens two tabs simultaneously. Edit, save and toggle between the two. Saved changes will appear in all tabs.
This is how I do it too.
/nikolaj