Giter Club home page Giter Club logo

Comments (15)

angelozerr avatar angelozerr commented on May 26, 2024

I think it's not a problem with AngularJS Eclipse but with WTP. Your screenshot is very strange you have not syntax coloring. Do you use AngularJS Editor to open HTML file?

from angularjs-eclipse.

 avatar commented on May 26, 2024

I believe this html file was opened with angularjs editor - selecting it from here:

screen shot 2014-05-03 at 10 41 03

Before the editor opens the file I had this Alert Box:

screen shot 2014-05-03 at 10 41 27

I've just ignored this.

Anyways - the angularjs editor icon was visible on the editor panel tab: I just don't see how this icon could be shown if it was opened with a different editor...

Could please you elaborate a little bit more about WTP? Other editors seem to be working just fine.

There is below what is installed on this up-to-date stable Kepler build:

screen shot 2014-05-03 at 11 11 51

Anything important missing?

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

AngularJS Eclipse extends WTP HTML editor to manage syntax coloring for EL AngularJS. It's not an editor created from scratch. Spelling feature is not managed with AngularJS Eclipse, so Ithink you will have the same problem if you open your html with HTML editor.

from angularjs-eclipse.

 avatar commented on May 26, 2024

This is what I am getting with HTML editor:

screen shot 2014-05-04 at 06 47 50

Which looks correct to me as it doesn't know about angularjs syntax.

from angularjs-eclipse.

 avatar commented on May 26, 2024

About extending WTP editor, are angularjs-eclipse depedencies handled at installation time? What would happen if WTP was not installed or if Eclipse was using another html editor like the one provided by Aptana Studio?

from angularjs-eclipse.

 avatar commented on May 26, 2024

I have uninstalled Aptana Studio plugin and now I am getting syntax coloring back from WTP - so apparently I had 2 Eclipse plugins in conflct for HTML editing...

Now - if I compare same example in default HTML or Angular JS extended editors then I don't see much differences - still no yellow stickers, etc. See below:

screen shot 2014-05-04 at 08 23 23

screen shot 2014-05-04 at 08 23 32

They are looking pretty much the same to me. Am I missing anything important?

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

About extending WTP editor, are angularjs-eclipse depedencies handled at installation time?

It should, Eclipse update site should manage that.

What would happen if WTP was not installed or if Eclipse was using another html editor like the one provided by Aptana Studio?

It will not work. You need WTP. I suggest you that you install "Eclipse IDE for JEE developers".

They are looking pretty much the same to me. Am I missing anything important?

Close your all files from your workspace and close/reopen your Eclipse. Open your index.html with AngularJS Editor.

from angularjs-eclipse.

 avatar commented on May 26, 2024

I have even defined AngularJS Editor as default editor for .html files but it didn't change anything beside adding the [ A ] icon in the project explorer panel:

screen shot 2014-05-04 at 09 40 46

screen shot 2014-05-04 at 09 43 31

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

Just one question. Have you convert your project to AngularJS?

from angularjs-eclipse.

 avatar commented on May 26, 2024

OOPs - I had convert it several times before but just forgot the last time.
Now it works just fine:

screen shot 2014-05-04 at 09 49 52

Thank's for your patience Angelo: I've learned a few interesing tips in this process that I intend to share soon on my blog...

from angularjs-eclipse.

 avatar commented on May 26, 2024

One more question: what's actually happening when we do convert the project? Any change in the .project file?

from angularjs-eclipse.

paulvi avatar paulvi commented on May 26, 2024

@nodeleaf Please create separate issues to separate concerns.

What would happen if WTP was not installed or if Eclipse was using another html editor like the one provided by Aptana Studio?

If you manage to install into Aptana Studio, Eclipse dependency resolution will get HTML editor from WTP, not the one used in Aptana by default. There may be some errors, but generally it should be possible. If you care about Aptana support also create new issue.

P.S. Are you using Aptana Studio (based on Eclipse 3.x) or installed Aptana plugins into Eclipse?
You should have started giving OS, Java, Eclipse versions.

from angularjs-eclipse.

angelozerr avatar angelozerr commented on May 26, 2024

@nodeleaf I don't know if you have done that, but if you start with AngularJS Eclipse, I suggest you to read https://github.com/angelozerr/angularjs-eclipse/wiki/Getting-Started

what's actually happening when we do convert the project? Any change in the .project file?

Convert to AngularJS Project add "angular"" + "tern" nature to the .project file :

Now there is the question about how to load an HTML file with WTP HTMLDocument or HTMLDocumentForAngular. To do that I use nature of the project. If nature of the project is angular, I create HTMLDocumentForAngular, otherwise HTMLDocument.

There may be some errors, but generally it should be possible. If you care about Aptana support also create new issue.

@paulvi to be honnest with you, I will not have time to support Aptana too. But if Aptana guys wishes to that I change some code to support Apatana, no problem with that.

@nodeleaf don't hesitate to post your link about your article in your blog when you will do that.

I close this issue.

from angularjs-eclipse.

paulvi avatar paulvi commented on May 26, 2024

ref aptana/studio3#199

from angularjs-eclipse.

 avatar commented on May 26, 2024
Angularjs-Eclipse plugin post

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.