Coder Social home page Coder Social logo

md-haxebinding's Introduction

Introduction

The "Haxe Language Binding" is an initial step towards bringing the functionality we enjoy in FlashDevelop to a Mac and Linux environment.

Since both MonoDevelop and FlashDevelop share a common language (C#), extending MonoDevelop provides an opportunity to port functionality, while building on a mature, stable editor.

For more background on the project, please feel free to read:

http://www.joshuagranick.com/blog/2012/04/06/flashdevelop-for-maclinux-part-1/

Installation

You can install this add-in using the "Add-in Manager" from within MonoDevelop.

Previous versions are compatible with MonoDevelop 2.8, which is the latest version in the Ubuntu repositories.

The current version is designed to support MonoDevelop 3.0.

You can install MonoDevelop 3.0 in Ubuntu using the "keks9n" PPA:

sudo add-apt-repository ppa:keks9n/monodevelop-latest
sudo apt-get install monodevelop

You can find instructions for other Linux distributions or download MonoDevelop 2.8 for Mac or Windows, here:

http://www.monodevelop.com/download

If you would like to help develop the add-in, you should clone this repository then add a symlink between the "MonoDevelop.HaxeBinding.dll" file under /HaxBinding/bin/Debug and the /LocalInstall/Addins directory.

On Linux this is located at "~/.local/share/MonoDevelop-3.0/LocalInstall/Addins". Create the directory if it does not exist.

On Mac it is located at "~/Library/Application Support/MonoDevelop-3.0/LocalInstall/Addins" and on Windows it is "C:\Users(your user name)\AppData\Local\MonoDevelop-3.0\LocalInstall\Addins"

Supported Features

  • Project creation for C++, Flash, JS, Neko, PHP and NME (3.2+)
  • Haxe language highlighting
  • Haxe compiler-based code completion
  • Build and run support
  • Initial support for C++ debugging

Other Notes

Code completion for method parameters is not available in MonoDevelop 3.0, as the API was changed. I will try to have this fixed as soon as I am able.

The add-in does support the "compilation server" feature in Haxe 2.09, which caches completion to improve response times. This is performed automatically.

A known limitation of Haxe compiler-based code completion is that it will occur only on a period or a parenthesis. This covers the majority of cases but not all. This may be improved in the future, either with workarounds or with improvements in the Haxe compiler.

Feedback

Please feel free to contact me on Twitter (@singmajesty) with any feedback. Thanks!

md-haxebinding's People

Contributors

itavero avatar jgranick avatar rynti avatar tjhei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

md-haxebinding's Issues

I think NME 3.5 broke your plugin

I am not sure if you want to maintain this plugin but here is my issue anyway.

It seems that autocompletion does not work with NME 3.5. I had it working earlier with 3.4.3 but as soon as I switched to 3.5.1 it stopped working.

If you would be so kind to fix this issue... or let me know that I am doing something wrong, I would be eternally grateful.

Thanks in advance,
Dartos

(Windows) Errors in MonoDevelop 2.8.8.4

When clicking Haxe option in Tools/Options -> Other/Haxe following error occurs:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeOptionsWidget.Build()
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeOptionsPanel.CreatePanelWidget()
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget(SectionPage page)
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage(OptionsDialogSection section)
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged(Object s, EventArgs a)
--- 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.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

OpenFL compatibility

The plug-in currently does not support the OpenFL build commands (for example: it still requires a *.nmml file, however OpenFL has switched to *.xml for build configurations).

PS: I don't think Haxe 3 is fully supported either, at this point in time.

Compilation warnings display as errors

I'm porting a project to haXe, and it contains code that the compiler doesn't like, so it's generating warnings. These show up as errors, which isn't correct.

(I tried fixing this on my own, but the behavior is unchanged.)

Support for packages

MonoDevelop is designed for C# which don't use packages. Would be nice to have packages.

Adding new folders via MD does not add them to nmml classpath

When creating new folders via MD's solution explorer (particularly when creating subfolders under "source") the new folder is not added to the nmml file. This causes any haxe files in those folders to not be built, thus giving "class not found" errors at build time.

env:
Linux Mint 13
MonoDevelop 3.0.1

No code completion win/mac

I have updated addin from addins manager. All those errors are gone (when trying to trigger code completion), but unfortunately there's no code completion at all.

It doesn't work on write mode(triggered by letters) nor ctrl + space.

Tried on win7 32 bit and MacOS Lion:

  • haxe 2.08
  • latest mono develop
  • latest mono

Unable to run from monodevelop

I am trying to run app in monodevelop ubuntu, ctrl + F5. I am getting error
Description
"class not found: tools.haxelib.Main
File
--macro
Project
SimpleBox2D
Path
--macro

Monodevelop 4.0 / Xamarin compatibility?

Is there by any chance a way to make the binding compatible with 4.0?
I've tried changing the dependency declaration from Core & Ide v.3.0 to v.4.0 which allows me to install the .mpack downloaded from http://addins.monodevelop.com/
But after I updated Xamarin the addin was removed and I can't reinstall it.
Also I haven't been able to use it really as it won't allow me to build. I get the following error and I can't seem to display the whole error: http://d.pr/i/xiAY

Tested building it in Monodevelop 3.x which works perfectly...

Code completion does not work for some case

Code completion does not work for me with the following setup:

  • OSX 10.7.4
  • MonoDevelop 3.0.3.5 with Haxe Binding 0.3.6
  • Haxe SVN r5280

And it only does not work in some very specific cases...
For example:

Using casalib haxelib (haxelib install casalib)
Replace org/casalib/util/NumberUtil.hx with:

package org.casalib.util;
    class NumberUtil  {
        /**
            Evaluates <code>val1</code> and <code>val2</code> and returns the smaller value. Unlike <code>Math.min</code> this method will return the defined value if the other value is <code>null</code> or not a number.

            @param val1: A value to compare.
            @param val2: A value to compare.
            @return Returns the smallest value, or the value out of the two that is defined and valid.
            @example
                <code>
                    trace(NumberUtil.min(5, null)); // Traces 5
                    trace(NumberUtil.min(5, "CASA")); // Traces 5
                    trace(NumberUtil.min(5, 13)); // Traces 5
                </code>
        */
        public static function min(val1:Dynamic):Float {
            return 0;
        }


    }

No code completion with:

using org.casalib.util.NumberUtil;

class TestHaxe {
    static function main() {
        "".
    }
}

Interesting that code completion works if I put NumberUtil into TestHaxe.hx ...
And the example also work in eclihx...

Neko as target for Haxe NME build?

Hey! I'm using MonoDevelop, and would like to target Neko from MonoDevelop, but I don't see any option for doing so in the menus.

e.g. I don't see an option for: Project | Active Configuration | Release | NEKO

Is there some way to enable this? I can of course build it from the command line, but would like to see an integrated option for this.

Thanks!

Error while executing command: Show Completion Window

Any ideas?
Error:
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 (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext) [0x00000] in :0
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.GetCompletionList (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext) [0x00000] in :0
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeTextEditorCompletion.HandleCodeCompletion (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext, Char completionChar) [0x00000] in :0
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.CodeCompletionCommand (MonoDevelop.Ide.CodeCompletion.CodeCompletionContext completionContext) [0x00000] in :0
at MonoDevelop.Ide.Gui.Content.CompletionTextEditorExtension.RunCompletionCommand () [0x00000] in :0
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) [0x00000] in :0
at MonoDevelop.Components.Commands.CommandManager+c__AnonStorey42.<>m__57 () [0x00000] in :0
at MonoDevelop.Components.Commands.CommandManager.DispatchCommand (System.Object commandId, System.Object dataItem, System.Object initialTarget, CommandSource source) [0x00000] in :0

Using Kubuntu 12.04

Version
MonoDevelop 2.8.6.3
Installation UUID: 1561ee72-02de-4a17-8154-d34adfc2f640
Runtime:
Mono 2.10.8.1 (Debian 2.10.8.1-1ubuntu2)
GTK 2.24.10
GTK# (2.12.0.0)
Build information:
Git revision: f4289daf57621f5593ad5bf78b3ff5ad878e3c7a-dirty
Build date: 2012-02-20 07:20:06+0000
Operating System:
Linux
Linux 28desktop 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:41:14 UTC 2012 i686 i686 i386 GNU/Linux
Loaded assemblies:
MonoDevelop.RegexToolkit 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.RegexToolkit/MonoDevelop.RegexToolkit.dll
ILAsmBinding 2.6.0.0 /usr/lib/monodevelop/AddIns/BackendBindings/ILAsmBinding.dll
OldNRefactory 2.1.1.0 /usr/lib/monodevelop/bin/OldNRefactory.dll
gconf-sharp 2.24.0.0 /usr/lib/mono/gac/gconf-sharp/2.24.0.0__35e10195dab3c99f/gconf-sharp.dll
MonoDevelop.HexEditor 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.HexEditor.dll
MonoDevelop.AssemblyBrowser 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.AssemblyBrowser.dll
ICSharpCode.NRefactory 1.0.4433.13142 /usr/lib/monodevelop/bin/ICSharpCode.NRefactory.dll
MonoDevelop.HaxeBinding 1.0.4484.31754 /usr/lib/monodevelop/AddIns/MonoDevelop.HaxeBinding.dll
MonoDevelop.Projects.Formats.MSBuild 1.0.0.0 /usr/lib/monodevelop/bin/MonoDevelop.Projects.Formats.MSBuild.exe
MonoDevelop.MsVisualStudio 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.MsVisualStudio/MonoDevelop.MsVisualStudio.dll
MonoDevelop.VBNetBinding 2.6.0.0 /usr/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.VBNetBinding.dll
MonoDevelop.CSharpBinding 2.6.0.0 /usr/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.CSharpBinding.dll
I18N.Rare 4.0.0.0 /usr/lib/mono/gac/I18N.Rare/4.0.0.0__0738eb9f132ed756/I18N.Rare.dll
I18N.CJK 4.0.0.0 /usr/lib/mono/gac/I18N.CJK/4.0.0.0__0738eb9f132ed756/I18N.CJK.dll
I18N.MidEast 4.0.0.0 /usr/lib/mono/gac/I18N.MidEast/4.0.0.0__0738eb9f132ed756/I18N.MidEast.dll
I18N.Other 4.0.0.0 /usr/lib/mono/gac/I18N.Other/4.0.0.0__0738eb9f132ed756/I18N.Other.dll
I18N.West 4.0.0.0 /usr/lib/mono/gac/I18N.West/4.0.0.0__0738eb9f132ed756/I18N.West.dll
I18N 4.0.0.0 /usr/lib/mono/gac/I18N/4.0.0.0__0738eb9f132ed756/I18N.dll
MonoDevelop.CodeMetrics 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.CodeMetrics/MonoDevelop.CodeMetrics.dll
MonoDevelop.CBinding 2.6.0.0 /usr/lib/monodevelop/AddIns/BackendBindings/MonoDevelop.CBinding.dll
MonoDevelop.Refactoring 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Refactoring/MonoDevelop.Refactoring.dll
MonoDevelop.AspNet.Mvc 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.AspNet.Mvc/MonoDevelop.AspNet.Mvc.dll
MonoDevelop.TextTemplating 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/MonoDevelop.TextTemplating.dll
Mono.TextTemplating 0.0.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.TextTemplating/Mono.TextTemplating.dll
MonoDevelop.WebReferences 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.WebReferences/MonoDevelop.WebReferences.dll
MonoDevelop.AspNet 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.AspNet/MonoDevelop.AspNet.dll
MonoDevelop.XmlEditor 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.XmlEditor/MonoDevelop.XmlEditor.dll
MonoDevelop.SourceEditor2 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.SourceEditor2.dll
MonoDevelop.Gettext 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Gettext/MonoDevelop.Gettext.dll
MonoDevelop.Autotools 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Autotools/MonoDevelop.Autotools.dll
ICSharpCode.SharpZipLib 2.84.0.0 /usr/lib/mono/gac/ICSharpCode.SharpZipLib/2.84.0.0__1b03e6acf1164f73/ICSharpCode.SharpZipLib.dll
Mono.Security 4.0.0.0 /usr/lib/mono/gac/Mono.Security/4.0.0.0__0738eb9f132ed756/Mono.Security.dll
MonoDevelop.Deployment.Linux 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.Linux.dll
MonoDevelop.Deployment 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Deployment/MonoDevelop.Deployment.dll
MonoDevelop.GtkCore 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.GtkCore/MonoDevelop.GtkCore.dll
libsteticui 0.0.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.GtkCore/libsteticui.dll
libstetic 0.0.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.GtkCore/libstetic.dll
MonoDevelop.DesignerSupport 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.DesignerSupport/MonoDevelop.DesignerSupport.dll
Mono.Debugging 0.0.0.0 /usr/lib/monodevelop/bin/Mono.Debugging.dll
MonoDevelop.Debugger 2.6.0.0 /usr/lib/monodevelop/AddIns/MonoDevelop.Debugger/MonoDevelop.Debugger.dll
pango-sharp 2.12.0.0 /usr/lib/mono/gac/pango-sharp/2.12.0.0__35e10195dab3c99f/pango-sharp.dll
monodoc 1.0.0.0 /usr/lib/mono/gac/monodoc/1.0.0.0__0738eb9f132ed756/monodoc.dll
System.Drawing 4.0.0.0 /usr/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
Mono.Cecil 0.9.4.0 /usr/lib/monodevelop/bin/Mono.Cecil.dll
gnome-vfs-sharp 2.24.0.0 /usr/lib/mono/gac/gnome-vfs-sharp/2.24.0.0__35e10195dab3c99f/gnome-vfs-sharp.dll
gnome-sharp 2.24.0.0 /usr/lib/mono/gac/gnome-sharp/2.24.0.0__35e10195dab3c99f/gnome-sharp.dll
GnomePlatform 2.6.0.0 /usr/lib/monodevelop/AddIns/GnomePlatform/GnomePlatform.dll
System.Configuration 4.0.0.0 /usr/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
Mono.Cairo 4.0.0.0 /usr/lib/mono/gac/Mono.Cairo/4.0.0.0__0738eb9f132ed756/Mono.Cairo.dll
gdk-sharp 2.12.0.0 /usr/lib/mono/gac/gdk-sharp/2.12.0.0__35e10195dab3c99f/gdk-sharp.dll
Mono.TextEditor 1.0.0.0 /usr/lib/monodevelop/bin/Mono.TextEditor.dll
atk-sharp 2.12.0.0 /usr/lib/mono/gac/atk-sharp/2.12.0.0__35e10195dab3c99f/atk-sharp.dll
glib-sharp 2.12.0.0 /usr/lib/mono/gac/glib-sharp/2.12.0.0__35e10195dab3c99f/glib-sharp.dll
gtk-sharp 2.12.0.0 /usr/lib/mono/gac/gtk-sharp/2.12.0.0__35e10195dab3c99f/gtk-sharp.dll
Mono.Posix 4.0.0.0 /usr/lib/mono/gac/Mono.Posix/4.0.0.0__0738eb9f132ed756/Mono.Posix.dll
Mono.Addins 0.6.0.0 /usr/lib/mono/gac/Mono.Addins/0.6.0.0__0738eb9f132ed756/Mono.Addins.dll
Mono.Addins.Setup 0.6.0.0 /usr/lib/mono/gac/Mono.Addins.Setup/0.6.0.0__0738eb9f132ed756/Mono.Addins.Setup.dll
System.Xml 4.0.0.0 /usr/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll
System.Xml.Linq 4.0.0.0 /usr/lib/mono/gac/System.Xml.Linq/4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
System.Core 4.0.0.0 /usr/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll
System 4.0.0.0 /usr/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll
MonoDevelop.Core 2.6.0.0 /usr/lib/monodevelop/bin/MonoDevelop.Core.dll
MonoDevelop.Ide 2.6.0.0 /usr/lib/monodevelop/bin/MonoDevelop.Ide.dll
MonoDevelop 2.6.0.0 /usr/lib/monodevelop/bin/MonoDevelop.exe
mscorlib 4.0.0.0 /usr/lib/mono/4.0/mscorlib.dll

Possibility to port md-haxebinding to Haxe?

Since Haxe has a C# target (Not sure if it work well though) it would be wise to port this plugin to Haxe. The main-benefit of this approach would be obvious: We get Haxe developers to work on this plugin, also it would be easier to write a parser (#10) for Haxe in Haxe :) ( @rynti worked on a Haxe parser in Haxe, sadly this project seems to be dead).

Generated files in repository

These two files are generated lcoally by MonoDevelop and should not be in the repository.

HaxeBinding/HaxeBinding.pidb
MonoDevelop.FD.userprefs

Sorely lacking of parser

This will be very helpfull since it will add possibilities for navigation, refactoring, todo-lists, auto documentation etc.

(Windows) Errors in MonoDevelop 2.8.8.4 when completion window is triggered

When completion window should pop out (manually ctrl+space or automatically during code writing) following error occurs:

Error in text editor extension chain

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'Mono.Posix, Version=4.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756' or one of its dependencies. The system cannot find the file specified.
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeOptionsWidget.Build()
at MonoDevelop.HaxeBinding.Languages.Gui.HaxeOptionsPanel.CreatePanelWidget()
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.CreatePageWidget(SectionPage page)
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.ShowPage(OptionsDialogSection section)
at MonoDevelop.Ide.Gui.Dialogs.OptionsDialog.OnSelectionChanged(Object s, EventArgs a)
--- 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.Delegate.DynamicInvokeImpl(Object[] args)
at GLib.Signal.ClosureInvokedCB(Object o, ClosureInvokedArgs args)
at GLib.SignalClosure.Invoke(ClosureInvokedArgs args)
at GLib.SignalClosure.MarshalCallback(IntPtr raw_closure, IntPtr return_val, UInt32 n_param_vals, IntPtr param_values, IntPtr invocation_hint, IntPtr marshal_data)

MonoDevelop 2.8.8.4, win 7 32bit

Win 7-64 Code Completion

Doesnt work for me but new release now throw error

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)

Better Tooltips handling

  1. Please wrap tooltip for function or constructor that have a lot of parameter (for example like the TextFormat constructor).
  2. If I trigger tooltip with open parenthesis, and then I cancel it by deleting the parenthesis. The previous tooltip keep showing up until I do a closing parenthesis.

Monodevelop/Sublime Text 2 Autocomplete Crash

Just installed SLT2, haxe, and nme fresh on my newish MBP. Now both monodevelop and SLT2 both crash when just before an autocomplete comes up. Here's the Console.app crash report : git://gist.github.com/3278256.git
anyone have the same problem?

Auto import like in C#

One thing I loved in FD was that I no longer managed imports. With some google searchs, I saw that MonoDevelop has the same tools to do that, but I didn't worked with NME project.

If you can just point me the direction to enable this, I'll fork it.

And for all that work, thanks a lot !

Filter out fields that is not available on selected platform.

I have to work with TextField a lot recently, and got surprised a few times, since some fields like "restrict" and "getTextFormat()" is only available in flash but not on other platforms (windows/linux/android and other cpp too I guess). I think it would be very helpful if MD filter out this platform specific fields (I believe they were surrounded by conditional compilation, should this HaXe responsibility in providing the correct completion list)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.