Giter Club home page Giter Club logo

rosieks.visualstudio.angular's People

Contributors

rosieks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

rosieks.visualstudio.angular's Issues

KeyNotFoundException

After installing v0.5.8, vs2017 opens an error popup indicating "An exception has been encountered. This may be caused by an extension" and dumps the following information in the ActivityLog.xml:

System.Collections.Generic.KeyNotFoundException: key
 at Microsoft.VisualStudio.Utilities.PropertyCollection.GetProperty(Object key)
 at Rosieks.VisualStudio.Angular.Completion.JsCommandFilter.GetCaretClassifications() in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Completion\JavaScriptIntellisenseController.cs:line 122
 at Rosieks.VisualStudio.Angular.Completion.JsCommandFilter.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Completion\JavaScriptIntellisenseController.cs:line 135
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Rosieks.VisualStudio.Angular.Commands.CommandTargetBase'1.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Commands\CommandTargetBase.cs:line 56
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Rosieks.VisualStudio.Angular.Commands.CommandTargetBase'1.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut) in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Commands\CommandTargetBase.cs:line 56
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
 at Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.DisplayContextMenu(Point mousePosition)
 at Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.HandlePreprocessRightButtonUp(InputEventArgs e)
 at Microsoft.VisualStudio.Editor.Implementation.VsMouseProcessor.PreprocessMouseRightButtonUp(MouseButtonEventArgs e)
 at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.<>c__DisplayClass41_0.<UIElement_MouseRightButtonUp>b__0(IMouseProcessor p)
 at Microsoft.VisualStudio.Text.Utilities.WpfMouseProcessor.<>c__DisplayClass56_1.<MouseProcessorHandler>b__0()
 at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

Don't understand this error. I have a D: drive but no "projects" folder on root as indicated in the error message, not sure if that relevent to my local workstation.

Typescript Go To Definition error

Hi another issue with this is that when I try to go to definition in any typescript files by pressing F12 on simple variables or functions or select it in menu I face an error message window with nothing but "KEY" written as the error's description and Error as the title.
And there's nothing in visual studio as log
Although peek definition is working (Alt+F12)

error message while editing html file

Hello,
if I try to edit an html file in VS2017 Community, an error message appears.

error from Activity.log:

System.ComponentModel.Composition.CompositionContractMismatchException:
	Cannot cast the underlying exported value of type 'Microsoft.Html.Editor.Completion.Def.IHtmlCompletionListProvider' to type 'Microsoft.Html.Editor.Completion.Def.IHtmlCompletionListProvider'.
		at System.ComponentModel.Composition.ExportServices.CastExportedValue[T](ICompositionElement element, Object exportedValue)
		at System.ComponentModel.Composition.ExportServices.GetCastedExportedValue[T](Export export)
		at System.ComponentModel.Composition.ExportServices.<>c__DisplayClass11_0`2.<CreateStronglyTypedLazyOfTM>b__1()
		at System.Lazy`1.CreateValue() at System.Lazy`1.LazyInitValue() at System.Lazy`1.get_Value()
		at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetElementCompletionProviders(String completionType, String elementPrefix, String elementName)
		at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetCompletionForAttributes(ElementNode element, String& completionType)
		at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetAttributeNameCompletions(RootNode rootNode, Int32 position, ElementNode element, AttributeNode attribute, ITextRange& range, String& completionType)
		at Microsoft.Html.Editor.Completion.Engine.HtmlCompletionEngine.GetCompletionForLocation(RootNode rootNode, IContentType contentType, Int32 position, ElementNode& element, AttributeNode& attribute, ITextRange& range, String& completionType, Boolean autoShownCompletion)
		at Microsoft.Html.Editor.Completion.HtmlCompletionSource.PopulateCompletionList(Int32 position, ICompletionSession session, IList`1 completionSets) at Microsoft.Html.Editor.Completion.HtmlCompletionSource.AugmentCompletionSession(ICompletionSession session, IList`1 completionSets)
		at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionSession.Start()
		at Microsoft.VisualStudio.Language.Intellisense.Implementation.CompletionBroker.TriggerCompletion(ITextView textView)
		at Microsoft.Web.Editor.Completion.CompletionController.TriggerCompletion()
		at Microsoft.Web.Editor.Completion.CompletionController.ShowCompletion(Boolean autoShownCompletion)
		at Microsoft.Web.Editor.Completion.CompletionController.OnPostTypeChar(Char typedCharacter)
		at Microsoft.Html.Editor.Completion.HtmlCompletionController.OnPostTypeChar(Char typedCharacter)
		at Microsoft.Web.Editor.Completion.TypingCommandHandler.OnPostTypeChar(Char typedChar)
		at Microsoft.Web.Editor.Completion.TypingCommandHandler.PostProcessInvoke(CommandResult result, Guid group, Int32 id, Object inputArg, Object& outputArg)
		at Microsoft.Html.Editor.Commands.HtmlTypingCommandHandler.PostProcessInvoke(CommandResult result, Guid group, Int32 id, Object inputArg, Object& outputArg)
		at Microsoft.Web.Editor.Controller.Controller.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
		at Microsoft.Web.Editor.Controller.ViewController.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
		at Microsoft.Html.Editor.Commands.HtmlMainController.Invoke(Guid group, Int32 id, Object inputArg, Object& outputArg)
		at Microsoft.VisualStudio.Html.Interop.CommandTargetToOleShim.Exec(Guid& guidCommandGroup, UInt32 commandID, UInt32 commandExecOpt, IntPtr variantIn, IntPtr variantOut)
		at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
		at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
		at Rosieks.VisualStudio.Angular.Commands.CommandTargetBase`1.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
		
		in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Commands\CommandTargetBase.cs:line 56
			at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
			at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
			at Rosieks.VisualStudio.Angular.Commands.CommandTargetBase`1.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
			
			in D:\projects\Rosieks.VisualStudio.Angular\Rosieks.VisualStudio.Angular\Commands\CommandTargetBase.cs:line 56
				at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
				at Microsoft.VisualStudio.Editor.Implementation.CommandChainNode.InnerExec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
				at Microsoft.VisualStudio.Editor.Implementation.SimpleTextViewWindow.Exec(Guid& pguidCmdGroup, UInt32 nCmdID, UInt32 nCmdexecopt, IntPtr pvaIn, IntPtr pvaOut)
				at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.SendCommand(Guid cmdGroup, UInt32 cmdID, Object inParam)
				at Microsoft.VisualStudio.Editor.Implementation.VsKeyboardFilter.TextInput(TextCompositionEventArgs args)
				at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c.<DispatchTextInputEvents>b__6_0(KeyProcessor p, TextCompositionEventArgs args)
				at Microsoft.VisualStudio.Text.Editor.Implementation.KeyProcessorDispatcher.<>c__DisplayClass10_1`1.<Dispatch>b__0()
				at Microsoft.VisualStudio.Text.Utilities.GuardedOperations.CallExtensionPoint(Object errorSource, Action call)

Using ASPNET core with Angular 4.0, the html file is a component template. It does not matter what you edit (tag parameter, text, tags ....) the error appears once at the 1st html file that was opened after VS is started. After this error, working on the html code is possible without any problem.

Incorrect name...

Hi

I hope this isn't too picky, but it would be good if this product was named correctly - ie. AngularJS instead of Angular (which implies Angular 2/4 at present).

It comes up in google for the wrong version of Angular :)

Error dialogs when typing in a templateUrl

When I'm working on a directive, trying to edit a templateUrl, I experience the following issues:

  • Pressing backspace gives me a error dialogs "Cannot find a part of the path: path I'm typing in (of course it can't find the path, as I'm not finished typing it yet!)
  • Sometimes when I type, I get an "index out of range" error (often also occurs after hitting the backspace key
  • Sometimes I am unable to type slash characters

I like this plugin, but I'm disabling it for now, as this bug is getting rather frustrating.

Update to VS 2019

Hi,

Thanks for your vs extension, it was useful for VS 2017. I just updated to VS 2019 and I miss using your extension. Will you plan to update to the new version of VS?

thanks

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.