Comments (4)
And another one (when manually forcing completion window with ctrl+space)
Error while executing command: Show Completion Window
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object.
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.FetchCompletionData(CodeCompletionContext completionContext)
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.GetCompletionList(CodeCompletionContext completionContext)
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.HandleCodeCompletion(CodeCompletionContext completionContext, Char completionChar)
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.CodeCompletionCommand(CodeCompletionContext completionContext)
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.RunCompletionCommand()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run(Object cmdTarget, Command cmd)
at MonoDevelop.Components.Commands.CommandManager.<>c__DisplayClassb.b__2()
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand(Object commandId, Object dataItem, Object initialTarget, CommandSource source)
MonoDevelop 2.8.8.4, win 7 32bit
from md-haxebinding.
I can't reproduce this on my end. I do get the "Mono.Posix" issue on Windows when trying to access the project or Haxe settings, which both use GTK#... (strange that it can't resolve a path to that core library), however code completion works just fine for me
from md-haxebinding.
Update: Tried on my macbook pro / snow leaopard
Installed freshly:
- latest haxe
- latest nme
- latest mono / gtk#
- latest monodevelop 2.8.8.4
- installed haxe addon through addon form (not github)
No love for code completion, here the exception:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.NullReferenceException: Object reference not set to an instance of an object
at MonoDevelop.Projects.CodeGeneration.CodeRefactorer.CompleteStatement (MonoDevelop.Projects.Dom.Parser.ProjectDom dom, System.String fileName, DomLocation caretLocation) [0x00007] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Core/MonoDevelop.Projects.CodeGeneration/CodeRefactorer.cs:315
at MonoDevelop.SourceEditor.ExtensibleTextEditor.OnCompleteStatement () [0x00015] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/addins/MonoDevelop.SourceEditor2/MonoDevelop.SourceEditor/ExtensibleTextEditor.cs:971
at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (System.Reflection.MonoMethod,object,object[],System.Exception&)
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
--- End of inner exception stack trace ---
at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in :0
at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in :0
at MonoDevelop.Components.Commands.CommandHandlerInfo.Run (System.Object cmdTarget, MonoDevelop.Components.Commands.Command cmd) [0x00029] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1864
at MonoDevelop.Components.Commands.CommandManager+c__AnonStorey42.<>m__57 () [0x0003d] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1004
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x0029e] in /Users/builder/data/lanes/monodevelop-mac-2.8.8.4/cc9fe83c/source/monodevelop/main/src/core/MonoDevelop.Ide/MonoDevelop.Components.Commands/CommandManager.cs:1021
from md-haxebinding.
I don't think there should be any issues now. I've successfully used the add-in for Windows, Mac and Linux without these issues.
The Mono.Posix error is the only remaining one, which occurs when you try to open Project > Properties or Edit > Preferences > Haxe
from md-haxebinding.
Related Issues (20)
- Sorely lacking of parser
- No code completion win/mac HOT 6
- FR: Import existing projects in MD
- Better Tooltips handling
- Library project template
- Monodevelop/Sublime Text 2 Autocomplete Crash HOT 2
- Support for packages
- Code completion does not work for some case
- Filter out fields that is not available on selected platform. HOT 1
- why not build a package app?
- I think NME 3.5 broke your plugin HOT 2
- Auto import like in C# HOT 2
- Possibility to port md-haxebinding to Haxe?
- Adding new folders via MD does not add them to nmml classpath
- Compilation warnings display as errors
- Neko as target for Haxe NME build?
- Monodevelop 4.0 / Xamarin compatibility?
- OpenFL compatibility HOT 7
- Current state of project
- Unable to run from monodevelop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from md-haxebinding.