|
Re: shebang line for script recognition [message #1293194 is a reply to message #1289825] |
Sat, 12 April 2014 11:50   |
|
On 04/09/2014 11:33 AM, Dan Rawson wrote:
> I would like to be able to open a script file in an editor and have
> Eclipse use the shebang line for file type recognition. Nothing that
> I've found indicates that this is possible (or that a plugin exists to
> make it possible :)
>
> The PyDev plugin documentation SAYS that they do this . . . but it
> doesn't work, and I haven't seen it documented for any of our other
> plugins.
>
> Just for info, we are using Windriver Workbench, and therefore Eclipse
> 3.8.1 plus Eclipse CDT and PyDev
You need to understand that Eclipse's behavior is completely influenced
by the plug-in or set of plug-ins you use. Many plug-ins are not written
by Eclipse.
Have you examined file-type association with editor in Eclipse? This
doesn't not satisfy your shebang requirement, only a plug-in could do
that, but it may be a partial answer.
Last, for birds of a feather, please consider the Eclipse CDT forum and
also whatever forum/mailing list supports PyDev.
Cheers.
|
|
|
Re: shebang line for script recognition [message #1293195 is a reply to message #1293194] |
Sat, 12 April 2014 11:53   |
|
On 04/12/2014 05:50 AM, Russell Bateman wrote:
> On 04/09/2014 11:33 AM, Dan Rawson wrote:
>> I would like to be able to open a script file in an editor and have
>> Eclipse use the shebang line for file type recognition. Nothing that
>> I've found indicates that this is possible (or that a plugin exists to
>> make it possible :)
>>
>> The PyDev plugin documentation SAYS that they do this . . . but it
>> doesn't work, and I haven't seen it documented for any of our other
>> plugins.
>>
>> Just for info, we are using Windriver Workbench, and therefore Eclipse
>> 3.8.1 plus Eclipse CDT and PyDev
>
> You need to understand that Eclipse's behavior is completely influenced
> by the plug-in or set of plug-ins you use. Many plug-ins are not written
> by Eclipse.
>
> Have you examined file-type association with editor in Eclipse? This
> doesn't not satisfy your shebang requirement, only a plug-in could do
> that, but it may be a partial answer.
>
> Last, for birds of a feather, please consider the Eclipse CDT forum and
> also whatever forum/mailing list supports PyDev.
>
> Cheers.
Sorry, here is what I was talking about:
Window -> Preferences -> General -> Editors -> File Associations
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02962 seconds