June 03, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Pavel Minayev | In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. It does affect the dropdown list in the "Tabs" tab of the settings dialog. Maybe if we did both? It appears M$ doesn't want just anybody extending their Visual Studio. They want to sell you a $10000 Visual Studio Extension Kit. Sean "Pavel Minayev" <evilone@omen.ru> wrote in message news:adf79p$o78$1@digitaldaemon.com... > "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1@digitaldaemon.com... > > > Though there are solutions: some programs managed to integrate into > VStudio > > 6.0 at a very smooth way and (what is much more important) give their > source > > code, the one I mean is at http://www.wndtabs.com/ > > > > At CodeProject an artictle about the same is also available, it's called "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp > > > > I think syntax highlighting is all-right and for the other stuff we have > to > > go this way (class view subclassing,...) > > Much work to do, and that with the exams in front > > After some examination of msdev.exe and related files, I've found out that all syntax highlighting is stored in the PKG files (actually DLLs) with names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hex editor, you'll find list of keywords, dialogs (ClassWizard is also there!), list of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN... |
June 03, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | If you fellows want to put together a zip file to do this, and write a short set of instructions, I'll be happy to make it available on the web site. -Walter "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:adgalp$1u5v$1@digitaldaemon.com... > In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. It does > affect the dropdown list in the "Tabs" tab of the settings dialog. > > Maybe if we did both? > > It appears M$ doesn't want just anybody extending their Visual Studio. They > want to sell you a $10000 Visual Studio Extension Kit. > > Sean > > "Pavel Minayev" <evilone@omen.ru> wrote in message news:adf79p$o78$1@digitaldaemon.com... > > "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1@digitaldaemon.com... > > > > > Though there are solutions: some programs managed to integrate into > > VStudio > > > 6.0 at a very smooth way and (what is much more important) give their > > source > > > code, the one I mean is at http://www.wndtabs.com/ > > > > > > At CodeProject an artictle about the same is also available, it's called > > > "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp > > > > > > I think syntax highlighting is all-right and for the other stuff we have > > to > > > go this way (class view subclassing,...) > > > Much work to do, and that with the exams in front > > > > After some examination of msdev.exe and related files, I've found out that > > all syntax highlighting is stored in the PKG files (actually DLLs) with names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hex editor, > > you'll find list of keywords, dialogs (ClassWizard is also there!), list of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN... > > > |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonas | i don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set the application as its full path + filename (c:\....\msdev.exe). Before that, windows said "file (something).d can't be found ...". Was that supposed to happen? "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> escribió en el mensaje news:addls7$119m$1@digitaldaemon.com... > > > Thanks a lot, I found what you meant on the internet, did a little bit of > > research at codeguru and found what I had to do to enable syntax > > colouring. > > Attached you find: > > * d.ico: an icon for .d-files (I didn't know if one already exists, so I > > created one) > > > put it in \dmd\bin > > * d.reg: assigns an icon to .d-files, adds context menu's to them, make > them > > start with Msdev.exe > > = slightly modified version from the one from Sean L. Palmer (thanks) > > * syntax.reg: make syntax highlighting work under Visual Studio > > * usertype.dat: keywords for D. > > > put it in the directory where msdev.exe resides > > > > Hope this can help someone > > > > Stupid of me, forgotten to attach those files > > > |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | Your devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. Sean "Carlos" <carlos8294@msn.com> wrote in message news:adh0k4$2maf$1@digitaldaemon.com... > i don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set the application > as its full path + filename (c:\....\msdev.exe). Before that, windows said > "file (something).d can't be found ...". Was that supposed to happen? > > "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> escribió en el mensaje news:addls7$119m$1@digitaldaemon.com... > > > > > Thanks a lot, I found what you meant on the internet, did a little bit > of > > > research at codeguru and found what I had to do to enable syntax > > > colouring. > > > Attached you find: > > > * d.ico: an icon for .d-files (I didn't know if one already exists, so I > > > created one) > > > > put it in \dmd\bin > > > * d.reg: assigns an icon to .d-files, adds context menu's to them, make > > them > > > start with Msdev.exe > > > = slightly modified version from the one from Sean L. Palmer > (thanks) > > > * syntax.reg: make syntax highlighting work under Visual Studio > > > * usertype.dat: keywords for D. > > > > put it in the directory where msdev.exe resides > > > > > > Hope this can help someone > > > > > > > Stupid of me, forgotten to attach those files > > > > > > > > |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter | We will if we can figure out how to get &%*!@ dev studio to do it properly. ;) Sean "Walter" <walter@digitalmars.com> wrote in message news:adgof1$2de0$1@digitaldaemon.com... > If you fellows want to put together a zip file to do this, and write a short > set of instructions, I'll be happy to make it available on the web site. -Walter > > "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:adgalp$1u5v$1@digitaldaemon.com... > > In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. It > does > > affect the dropdown list in the "Tabs" tab of the settings dialog. > > > > Maybe if we did both? > > > > It appears M$ doesn't want just anybody extending their Visual Studio. > They > > want to sell you a $10000 Visual Studio Extension Kit. > > > > Sean > > > > "Pavel Minayev" <evilone@omen.ru> wrote in message news:adf79p$o78$1@digitaldaemon.com... > > > "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> wrote in message news:ade3ba$1ugb$1@digitaldaemon.com... > > > > > > > Though there are solutions: some programs managed to integrate into > > > VStudio > > > > 6.0 at a very smooth way and (what is much more important) give their > > > source > > > > code, the one I mean is at http://www.wndtabs.com/ > > > > > > > > At CodeProject an artictle about the same is also available, it's > called > > > > "Undocumented Visual C++", you could guess it wouldn't be documented http://www.codeproject.com/macro/openvc.asp > > > > > > > > I think syntax highlighting is all-right and for the other stuff we > have > > > to > > > > go this way (class view subclassing,...) > > > > Much work to do, and that with the exams in front > > > > > > After some examination of msdev.exe and related files, I've found out > that > > > all syntax highlighting is stored in the PKG files (actually DLLs) with > > > names like devcpp.pkg, devhtmx.pkg etc. Looking inside with a hex > editor, > > > you'll find list of keywords, dialogs (ClassWizard is also there!), list > > > of file extensions... I made a copy of devcpp.pkg and used a resource editor and a hex editor to tweak it a bit... now it shows "D files" in the open menu, but I still can't get syntax highlighting to work. Oh well. And those PKGs aren't documented anywhere in MSDN... > > > > > > > > |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. "Sean L. Palmer" <seanpalmer@earthlink.net> escribió en el mensaje news:adhfma$3m5$1@digitaldaemon.com... > Your devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. > > Sean > > "Carlos" <carlos8294@msn.com> wrote in message news:adh0k4$2maf$1@digitaldaemon.com... > > i don't know if it happened only to me, but i couldn't open the d files until i changed the attributes of the type (of file) and set the > application > > as its full path + filename (c:\....\msdev.exe). Before that, windows said > > "file (something).d can't be found ...". Was that supposed to happen? > > |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Carlos | "Carlos" <carlos8294@msn.com> wrote in message news:adhg7o$4a7$1@digitaldaemon.com... > it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. > > "Sean L. Palmer" <seanpalmer@earthlink.net> escribió en el mensaje news:adhfma$3m5$1@digitaldaemon.com... > > Your devstudio is probably installed somewhere different. Open the .REG file with a text editor and make the path correct, then re-merge and try again. > > > > Sean > > > > "Carlos" <carlos8294@msn.com> wrote in message news:adh0k4$2maf$1@digitaldaemon.com... > > > i don't know if it happened only to me, but i couldn't open the d files > > > until i changed the attributes of the type (of file) and set the > > application > > > as its full path + filename (c:\....\msdev.exe). Before that, windows > said > > > "file (something).d can't be found ...". Was that supposed to happen? > > > I didn't include the pathname in the .reg file, because msdev.exe was in my path and so Windows would find it. I thought that was the default behaviour of VStudio installer (to setup the path that way). Don't you have an MSDevDir environment variable neither? |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:adgalp$1u5v$1@digitaldaemon.com... > In the registry you can make a new class of files (look under "Build System") but that by itself also isn't enough to get anything done. It does > affect the dropdown list in the "Tabs" tab of the settings dialog. > > Maybe if we did both? I did both. No, it still doesn't work. |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Jonas | Setting those env vars is an option when installing DevStudio. If you don't, you can always run vcvars32.bat right? Sean "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> wrote in message news:adhneh$bem$1@digitaldaemon.com... > "Carlos" <carlos8294@msn.com> wrote in message news:adhg7o$4a7$1@digitaldaemon.com... > > it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was normal. > > > > "Sean L. Palmer" <seanpalmer@earthlink.net> escribió en el mensaje news:adhfma$3m5$1@digitaldaemon.com... > > > Your devstudio is probably installed somewhere different. Open the .REG > > > file with a text editor and make the path correct, then re-merge and try > > > again. > > > > > > Sean |
June 04, 2002 Re: linking, syntax colouring | ||||
---|---|---|---|---|
| ||||
Posted in reply to Sean L. Palmer | You're right, I hadn't thought about it. That will probably be the cause. Jonas "Sean L. Palmer" <seanpalmer@earthlink.net> wrote in message news:adhq4s$f4h$1@digitaldaemon.com... > Setting those env vars is an option when installing DevStudio. If you don't, you can always run vcvars32.bat right? > > Sean > > "Jonas" <jonas.vermeulen@student.kuleuven.ac.be> wrote in message news:adhneh$bem$1@digitaldaemon.com... > > "Carlos" <carlos8294@msn.com> wrote in message news:adhg7o$4a7$1@digitaldaemon.com... > > > it is installed in a different path ("archivos de programa" instead of "program files"), but i made it work anyway. what i'm asking if that was > > > normal. > > > > > > "Sean L. Palmer" <seanpalmer@earthlink.net> escribió en el mensaje news:adhfma$3m5$1@digitaldaemon.com... > > > > Your devstudio is probably installed somewhere different. Open the > .REG > > > > file with a text editor and make the path correct, then re-merge and > try > > > > again. > > > > > > > > Sean > > > |
Copyright © 1999-2021 by the D Language Foundation