Coder Social home page Coder Social logo

nrefactory-completion-sample's Introduction

NRefactory Code Completion Sample

This is a sample applications that shows how to do C# code completion in a text editor with NRefactory 5. We are using AvalonEdit as the text editor.

It's a pretty full featured sample containing ctrl+space like code completion and method parameter completion. Also showing nice icons for different types in the completion window. The project is structured so that the code completion part could be used directly as a library. Also C# scripts are supported, meaning files (.csx) that contain no class structure but just C# statements.

To get it to work properly I had to compile the latest verion of AvalonEdit and include in this project.

See:

Screenshot

Known Issues

This is a work in progress and so currently there are quite a few bugs/issues with the code completion. Hopefully they will be fixed soon.

  • show InsightWindows when hovering over a type or method with the mouse.
  • event completion

Attribution & License

Most of the code is extracted from different versions of SharpDevelop especially the newNR branch and NRefactory. So all the props go the the makers of NRefactory and SharpDevelop. The completion icons come from SharpDevelop as well. The rest of the code was developed by lukebuehler and is released under the MIT license.

nrefactory-completion-sample's People

Contributors

lukebuehler avatar ciplogic avatar gilgame avatar

Watchers

James Cloos avatar  avatar

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.