Comments (6)
Similar effects observed as @PyvesB reports. I will add that not only are the black and blue colors being displayed incorrectly, the colors are actually 'unstable'. Every time a error message is printed that should normally get the hyperlink/underline, the black and blue colors are changing in a somewhat unpredictable way (some stuff that was black becomes blue and vice versa).
I was able to reproduce this by running some code that deliberately logs stuff that 'looks like' an error message. Here's my test code (it's the main method of a very simple maven/spring-boot app).
package com.example.demo;
import java.util.Random;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
@SpringBootApplication
@EnableScheduling
public class VmargDumperApplication {
Random rnd = new Random();
private static final Logger log = LoggerFactory.getLogger(VmargDumperApplication.class);
public static void main(String[] args) {
SpringApplication.run(VmargDumperApplication.class, args);
}
@Scheduled(fixedRate = 200)
public void doStuff() {
int x = rnd.nextInt(8);
if (x==0) {
log.error("java.lang.IllegalArgumentException: test");
}
log.info("Stuff = "+x);
}
}
Full zip of the test project:
vmarg-dumper.zip
Import this as a 'Existing Maven Project' or 'Existing Project'. Then run the main class with ansi console enabled.
You will see that every time the message java.lang.IllegalArgumentException: test
is printed the black and blue colors on the screen are jumping around (other colors seem to remain correct).
More info: Observed this during testing of (about to be released) STS 4.5.1 which is based on Eclipse 4.14.
from ansi-econsole.
Fixed by version 1.4.0.202001252332
from ansi-econsole.
Thank you, I will take a look.
from ansi-econsole.
Same here, Eclipse 2019-09.
from ansi-econsole.
Not sure whether this is directly related, but when running Maven builds (for instance this library), I'm seeing a lot of incorrect blue line colouring in the output:
from ansi-econsole.
I've updated to the latest version, looks great so far, thanks @mihnita !
from ansi-econsole.
Related Issues (20)
- Installation error HOT 3
- Support for setting ANSI console enablement default from another Eclipse Plugin HOT 3
- copy/paste without escape characters doesn't seem to work anymore HOT 13
- Console hang issue and slow performance on Windows HOT 10
- Not working on eclipse kepler HOT 2
- Ansi Console catches CTRL+C HOT 9
- Menu -- Copy & context menu -- Copy should copy without escapes
- Dual / Relicence under EPL2.0 / Contribute to Eclipse HOT 30
- Full support for terminal ProgressBar HOT 1
- Parameter default values are not recognized HOT 1
- CDT default colors are lost HOT 9
- Console is not updated when a property change HOT 1
- Color errors with Project -- Build All HOT 3
- Changing C/C++ output text color breaks ansi-econsole HOT 2
- Escape code ignore sometimes HOT 3
- Eclipse 2022-06 HOT 9
- Detect Eclipse 2022-09 and warn to uninstall HOT 1
- Console prints some extended unicode glyphs as 'unknown' HOT 2
- installed it, enabled it, restarted eclipse multiple times and cannot get it to work HOT 1
- DepShield Deprecation Notice
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 ansi-econsole.