дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-27 21:12:34 +02:00
feat(java): strike out deprecated classes in the Project view and editor tabs (#4349)
The JVM file presentation now reports whether a file's primary type is deprecated: annotated @Deprecated (Java and Kotlin), or a Java type whose Javadoc has a @deprecated tag. The Project view and editor tabs strike the name out, and an error marker on the same file still shows. Closes #4151
Цей коміт міститься в:
1 джерело
6829022b71
коміт
6bf69cfb2a
10 files changed
+99
-21
No files matched your search
@@ -56,6 +56,9 @@
|
||||
.excluded {
|
||||
color: var(--vcs-ignored);
|
||||
}
|
||||
.deprecated {
|
||||
text-decoration-line: line-through;
|
||||
}
|
||||
.error {
|
||||
text-decoration-line: underline;
|
||||
text-decoration-style: wavy;
|
||||
@@ -63,6 +66,10 @@
|
||||
text-decoration-skip-ink: none;
|
||||
text-underline-offset: 3px;
|
||||
}
|
||||
/* The error's wavy underline takes the text decoration; the strike-out is drawn underneath. */
|
||||
.deprecated.error {
|
||||
background: linear-gradient(currentColor, currentColor) 0 55% / 100% 1px no-repeat;
|
||||
}
|
||||
.suffix {
|
||||
display: inline-flex;
|
||||
flex: 0 1 auto;
|
||||
|
||||
Reference in new issue
Заблокувати користувача