Comments (4)
Which editor do you use it?
If it's with JDT Java Editor, it will not work, ec4e is working only with Generic Editor.
from ec4e.
That's right. I'm using the Java editor. Is it planed to support it?
from ec4e.
OK I missed the main page which states
...and works only with
GenericEditor
Well, I didn't realize that wouldn't work with the Java editor. Sorry for the mess.
from ec4e.
That's right. I'm using the Java editor. Is it planed to support it?
No it's not possible to support it because of https://bugs.eclipse.org/bugs/show_bug.cgi?id=457046#c14
As JDT re-read indent style, etc from the preferences (project or workspace), you can use my strategy which search value from a custom IPreferenceStore. The only solution to work with JDT is to update project or workspace preferences each time the editor takes the focus like https://github.com/ncjones/editorconfig-eclipse does.
I found not this solution very elegant, that's why I have created ec4e which works only with Generic Editor because Generic Editor doesn't re-read properties of indent, etc from a preferences but from a preference store (default behaviour of TextEditor).
I hope one day JDT will switch to Generic Editor and after we could benefit with ec4e.
from ec4e.
Related Issues (20)
- CodeLens for section
- Code Folding for section HOT 1
- Outline for .editorconfig
- Use a more descriptive parent module artifactId HOT 1
- Make some Tycho p2 Mojos skippable via Maven CLI HOT 1
- Downgrade to Java 7 HOT 4
- Child module org.eclipse.ec4j does not exist
- Add JUnit for validation services
- Add JUnit for completion services
- Add JUnit for hover services
- Code Folding for comments
- Publish the plugin on Eclipse Marketplace HOT 2
- .editorconfig configuration is not taken into account on new line
- settings don't seem to get applied to (Generic) Editor HOT 5
- Support for charset
- Support for end_of_line
- Support for tab_width
- Support for insert_final_newline
- Wizard to create .editorconfig HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ec4e.