[Visualpython-discuss] Enabling Syntax Coloring For .pyw Files To
VS .NET 2003
by Martin Miller other posts by this author
Feb 20 2004 8:59PM messages near this date
view in the new Beta List Site
[Visualpython-discuss] Intellisense in other mdoules
|
ActiveState releases new MSI for Visual Python 1.8.1
As a relative newbie to Visual Python, soon after installing 1.8.1
release I noticed that syntax coloring wasn't on when editing .pyw
files, although they seemed to run OK.
Unable to find a way to turn on the feature in Visual Studio .NET 2003,
I came up to the following registry hack:
=== contents of pyw.reg file
> Windows Registry Editor Version 5.00
>
> [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\7.1\Languages\File Extensions\.pyw]
> @="{ACC710C8-AB81-4757-9F20-F006F96004D7}"
> "Name"="PythonLangSvc Package"
>
=== end contents of pyw.reg file
Essentially all this does is dup the HKLM\...\File Extensions\.py key in
a new key with the name ".pyw".
-Martin
|