[nem-en] What is additional_decls?
vc
vc at rsdn.ru
Sat Nov 18 16:22:04 CET 2006
> It is awesome - at last we have the cool language and
> excellent IDE working together!
...with open source... free license... created by independent developers! :)
But, work in don done...
> I have one question however - what
> makes the VS project a Nemerle project? I noticed that there is
> Nemerle.Compiler.Utils.nproj file, but it does not open as Nemerle
> project. There is however Nemerle.Compiler.Utils.csproj, which after
> opening gets full Nemerle support (syntax highlighting + completion).
Nemerle.Compiler.Utils.csproj not support completion, hints, code navigation
and not full syntax highlighting. Really it is a C#-project with small hack
in project stricture (VS project in fact is MSBuild script). It hack enables
us: simple code highlighting, project support and debugging. We while use
just it. It happens because VS Integration is not done (not stabile).
Nemerle.Compiler.Utils.nproj - is wrapper which help open
Nemerle.Compiler.Utils.csproj under ours VS Integration. It's project really
empty. It contains only reference to Nemerle.Compiler.Utils.csproj.
When VS Integration will be work properly we move to
Nemerle.Compiler.Utils.nproj and remove the Nemerle.Compiler.Utils.csproj.
Note: Meanwhile Nemerle.Compiler.Utils.nproj work only if it run under
experimental HIVE of VS 2005. For it you must open
Nemerle.VsIntegration.csproj project properties and find Debug tab. Set
"Start external program:" field to
<%VS80COMNTOOLS%..\..\Common7\IDE\devenv.exe>. Set <Command line arguments:>
field to </rootsuffix Exp>.
It describe in
http://rsdn.ru/article/nemerle/Nemerle.VsIntegration-en.xml mage. We update
it.
> Some time ago I've created a csproj for my Nemerle application (it
> just contains the references to .n files and uses Nemerle MSBuild for
> compiling) - now if I open it, it gets syntax highlighting, but no
> completion.
It's true. Completion supported only by .nproj which run with /rootsuffix
Exp.
> And now about the bug reproduction. I successfully opened the
> Nemerle.Compiler.Utils.csproj in completion mode,
You must open Nemerle.Compiler.Utils.nproj. And VS must be run as I describe
above.
> but if I try to open
> the file you pointed
> http://nemerle.org/svn/vs-
> plugin/trunk/Nemerle.Compiler.Utils/Nemerle.Completion2/Engine/Engine-
> main.n
> I get following error in VS (in red):
>
>
> Object reference not set to an instance of an object.
> Hide
VS support editing single .n files, but it no give project support.
The bugs in this mode will fix later.
More information about the devel-en
mailing list