Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
1) perl 2) plain text 3) property list 4) python
Any chance of getting PHP on the list?
Thanks!
/sf
On Jan 30, 2008 6:23 AM, Steve Finkelstein sf@stevefink.net wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Open the Bundle Editor (ctrl+opt+cmd+b), go to php, search for the language grammar and set the key equivalent to whatever you like and there you go.
Niels
Niels,
Where exactly is language grammer defined within the context of the bundle?
/sf
On 1/30/08, Niels Kobschaetzki n.kobschaetzki@googlemail.com wrote:
On Jan 30, 2008 6:23 AM, Steve Finkelstein sf@stevefink.net wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Open the Bundle Editor (ctrl+opt+cmd+b), go to php, search for the language grammar and set the key equivalent to whatever you like and there you go.
Niels
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Joseph answered this already - it's the item called PHP with the L-icon next to it. (L indicates language grammar)
Niels
On Jan 30, 2008 5:38 PM, Steve Finkelstein sf@stevefink.net wrote:
Niels,
Where exactly is language grammer defined within the context of the bundle?
/sf
On 1/30/08, Niels Kobschaetzki n.kobschaetzki@googlemail.com wrote:
On Jan 30, 2008 6:23 AM, Steve Finkelstein sf@stevefink.net wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Open the Bundle Editor (ctrl+opt+cmd+b), go to php, search for the language grammar and set the key equivalent to whatever you like and there you go.
Niels
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Hello,
What you probably really want is the HTML bundle which you can get by using: <shift><control><alt>H
The HTML bundle has syntax highlighting for HTML, Javascript, and PHP all at once.
But if you really want just PHP try this: 1) Open up the Edit Languages dialog with <control><alt><command>L or Bundles > Bundle Editor > Edit Languages
2) Expand PHP and click PHP in the left pane
3) Fill in the activation textfield in the bottom right with your preferred shortcut, in your case: <shift><control><alt> P
The change will be immediate.
Enjoy, Joseph Pecoraro
On Jan 30, 2008, at 12: 23AM, Steve Finkelstein wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Thanks!
/sf
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Perfect,
Sorry I missed Joseph's elaborate reply.
Works wonderful. :-)
Thank you!
/sf
On 1/30/08, Joseph Pecoraro joepeck02@gmail.com wrote:
Hello,
What you probably really want is the HTML bundle which you can get by using: <shift><control><alt>H
The HTML bundle has syntax highlighting for HTML, Javascript, and PHP all at once.
But if you really want just PHP try this:
- Open up the Edit Languages dialog with
<control><alt><command>L or Bundles > Bundle Editor > Edit Languages
Expand PHP and click PHP in the left pane
Fill in the activation textfield in the bottom right with your
preferred shortcut, in your case: <shift><control><alt> P
The change will be immediate.
Enjoy, Joseph Pecoraro
On Jan 30, 2008, at 12: 23AM, Steve Finkelstein wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Thanks!
/sf
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
Glad to help, this is was the first where I was able to contribute. I have learned so much from these emails its nice to start contributing now.
- Joe P
On Jan 30, 2008, at 1: 02PM, Steve Finkelstein wrote:
Perfect,
Sorry I missed Joseph's elaborate reply.
Works wonderful. :-)
Thank you!
/sf
On 1/30/08, Joseph Pecoraro joepeck02@gmail.com wrote:
Hello,
What you probably really want is the HTML bundle which you can get by using: <shift><control><alt>H
The HTML bundle has syntax highlighting for HTML, Javascript, and PHP all at once.
But if you really want just PHP try this:
- Open up the Edit Languages dialog with
<control><alt><command>L or Bundles > Bundle Editor > Edit Languages
Expand PHP and click PHP in the left pane
Fill in the activation textfield in the bottom right with your
preferred shortcut, in your case: <shift><control><alt> P
The change will be immediate.
Enjoy, Joseph Pecoraro
On Jan 30, 2008, at 12: 23AM, Steve Finkelstein wrote:
Hi all,
Is it possible to give PHP a shortcut in the window which associates files with a language? Not entirely sure of the technical name of it, but if you follow the key sequence ctrl+shift+alt+p the list of available languages are:
- perl
- plain text
- property list
- python
Any chance of getting PHP on the list?
Thanks!
/sf
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate