Giter Club home page Giter Club logo

Comments (7)

fbricon avatar fbricon commented on May 26, 2024

WebStorm shows great navigation features https://www.youtube.com/watch?v=kWlj4a_e0G0

So, yeah, I'd like to see ctrl+click on archive() in [ <a href="" ng-click="archive()">archive</a> ] open the archive definition in the source file defining it.

Similarly, Ctrl+Click on <li ng-repeat="todo in todos"> should open the todos declaration

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

Tern provides the capability to manage "Go To Definition" (see hyperlink in JS Editor), so the difficulty with this issue is to retrieve the clicked element in HTML Editor in the attribute, element or text node.

from angularjs-eclipse.

fbricon avatar fbricon commented on May 26, 2024

@vrubezhny might be able to give you some pointers here

from angularjs-eclipse.

vrubezhny avatar vrubezhny commented on May 26, 2024

We have an overridden StructuredTextViewerConfiguration for our editors, so our configuration overrides getHyperlinkDetectors(ISourceViewer) method and returns our own detectors. For our case we have added an extension point which helps us to add different Hyperlinks into HTML/JSP/XML editors.

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

See https://github.com/angelozerr/angularjs-eclipse/wiki/New-and-Noteworthy-0.4.0#user-content-expression-hyperlink

from angularjs-eclipse.

fbricon avatar fbricon commented on May 26, 2024

Tried it, works like a charm. This was by far the #1 feature I think was missing to make angularjs-eclipse truly outstanding.
Awesome work Angelo!

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

@fbricon glad this feature works and you like it!

But I must improve it to :

  • support hyperlink/hover for text node with angular expression (if you open the HTML with Angular Editor it works, but for JSP it doesn't work)
  • support hyperlink/hover for attribute node which contains angular expression (ex : <span class="done-{{todo.done}}"> )

from angularjs-eclipse.

Related Issues (20)

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.