Comments (3)
This is a big problem if the code uses some preview features. It seems that using 2023-12
should fix that. We are also using spotless-maven-plugin
to check the code on our CI/CD pipeline. When we specify the 2023-12
version in the maven plugin, the code is correctly checked.. but it completely fails to format the file using this plugin, where an older eclipse is bundled.
from eclipsecodeformatter.
Yes, but using an external Eclipse installation should help.
from eclipsecodeformatter.
That is true, but we do not want to force every developer to install eclipse.
Regardless, the 2023-12
version does not fix formatting of the preview features - I was mistaken before.
Is formatting of the preview features even enabled in eclipse?
For example, take a look at this example code:
try {
process();
}
catch (Exception _)
{
log.warn("Cannot process, but continuing anyway!");
}
As soon as this feature is used (the unnamed variable in the catch clause) somewhere in the class, the formatting fails completely. It does not format any lines.
from eclipsecodeformatter.
Related Issues (20)
- Resolve project specific config can not find configuration file HOT 1
- Document is locked by write PSI operations during Replace in files
- Error logged by IDEA
- Eclipse Correct Indentation leads to different result
- Document version of bundled eclipse used by this plugin
- Newest Eclipse version is not compatible with EclipseCodeFormatter
- Failed to format with Adapter for Eclipse Code Formatter. Formatter config file not resolved. HOT 13
- @formatter:off is not working HOT 3
- Absolute Path to config file gets replaced with relative path using variable $PROJECT_DIR$ rendering settings unusable for a global central settings location HOT 7
- error failed to format with Adapter for Eclipse Code Formatter. Configured settings file does not exist, path="" HOT 3
- IconDeferrerImpl.clearCache IllegalStateException HOT 7
- Incompatible with IDEA2023.3.1 HOT 1
- Code formatting before committing is not working in the newer version of IntelliJ IDEA
- EclipseCodeStyleManager not honoring plugin listeners HOT 4
- Eclipse Formatter not called in IntelliJ 2024.1 EAP HOT 1
- ImportsComparator IndexNotReadyException
- Methods starting with βwhen(β¦)β in test files are left unformatted HOT 1
- IntelliJ Code Cleanup does not take the Eclipse formatting into account
- Failed to format notification since 2024.1.4
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 eclipsecodeformatter.