Giter Site home page Giter Site logo

toolwindowhostededitorexample's People

Contributors

ryanmolden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

toolwindowhostededitorexample's Issues

Ctrl+S seems to not work

I have been trying to use your sample here and it mostly works. I can get it to load up the editor and it even pulls in the syntax highlighting and all of that. But if I change the code and hit Ctrl+S it does not seem to actually write to disk.

I'm looking in the PreProcessMessage method of MyToolWindow and the //HACK: makes me very suspicious... but I really don't know what could be going wrong. Can you help at all?

Doesn't work for an external C# file in VS 2015

I used this code successfully to edit C# files internal to my extension (outside opened user's solution) in VS 2010-2013, but it no longer works in VS 2015.

To reproduce this problem, in the SetDisplayedFile method you can set path to an external file like
filePath= @"C:\Users\sv\Desktop\ToolWindowHostedEditor\MyToolWindow.cs";
Then open any VS solution and invoke the hosted editor.

In VS 2015 there is no syntax highlighting for such file and I can't type any text in the hosted editor.

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.