網路論壇
登入
網路論壇
lint-dev
會話群組
關於
提供意見
說明
lint-dev
聯絡版主和管理員
第 1 - 30 個,共有 345 個
全部標示為已讀取
檢舉群組
已選取 0 列
Michael Bailey
2月23日
Feature Request: New Annotation proposal: @androidx.annotation.ClassName for Strings representing class names
FYI on this proposal: https://issuetracker.google.com/issues/326526720
未讀,
Feature Request: New Annotation proposal: @androidx.annotation.ClassName for Strings representing class names
FYI on this proposal: https://issuetracker.google.com/issues/326526720
2月23日
John Rodriguez
, …
Zac Sweers
5
2023/5/21
False import resolution error in TestLintTask?
This remains broken in lint 8.2.0 alphas too :/. Filed this https://issuetracker.google.com/issues/
未讀,
False import resolution error in TestLintTask?
This remains broken in lint 8.2.0 alphas too :/. Filed this https://issuetracker.google.com/issues/
2023/5/21
Trading Ahmadh
2022/10/4
Issue id: MissingConstraints
How to fix (Issue id: MissingConstraints)
未讀,
Issue id: MissingConstraints
How to fix (Issue id: MissingConstraints)
2022/10/4
colto...@protonmail.com
2022/7/11
Added lint to a new project. It compiles, but I get red lines in my rule.
Here is my lint module build.gradle.kts I use this in 2 projects already. No issues. I added it to a
未讀,
Added lint to a new project. It compiles, but I get red lines in my rule.
Here is my lint module build.gradle.kts I use this in 2 projects already. No issues. I added it to a
2022/7/11
Mika
2022/6/21
TargetAPI lint check produces wrong results
Hi, There are some weird cases with the TargetAPI lint checks. See this example class MainActivity :
未讀,
TargetAPI lint check produces wrong results
Hi, There are some weird cases with the TargetAPI lint checks. See this example class MainActivity :
2022/6/21
胡银波
2022/4/8
Can Lint support increment check in the future?
Hi, I wonder if there is a possibility for lint task to support increment checks. As our project
未讀,
Can Lint support increment check in the future?
Hi, I wonder if there is a possibility for lint task to support increment checks. As our project
2022/4/8
Kiki Chang
2022/4/7
lint baseline fails on subsequent run
Recently upgraded project to Gradle 7.2 / AGP 7.1.2 from 4.x. When creating new baselines for each
未讀,
lint baseline fails on subsequent run
Recently upgraded project to Gradle 7.2 / AGP 7.1.2 from 4.x. When creating new baselines for each
2022/4/7
Мурат Байсангуров
2022/4/7
Custom lint rule is not executed from IDE
Hi! I have a library module with custom lint rules with the following build.gradle In the app module
未讀,
Custom lint rule is not executed from IDE
Hi! I have a library module with custom lint rules with the following build.gradle In the app module
2022/4/7
Saman Sattari
,
Róbert Papp
2
2022/2/8
LintFix change multiple parts with pattern
Hi, if I understand your use case correctly: from a quick glance at the LintFix class, looks like you
未讀,
LintFix change multiple parts with pattern
Hi, if I understand your use case correctly: from a quick glance at the LintFix class, looks like you
2022/2/8
colto...@protonmail.com
,
Tor Norbye
6
2022/1/28
How to suppress lint check for a single file, or can I suppress "wrong" import lint checks?
That worked!!!!! Thank you! Filed a bug here so that quickfix would actually recommend this. 😄 https:
未讀,
How to suppress lint check for a single file, or can I suppress "wrong" import lint checks?
That worked!!!!! Thank you! Filed a bug here so that quickfix would actually recommend this. 😄 https:
2022/1/28
Saman Sattari
,
Tor Norbye
2
2022/1/27
Android default lint-rules location
Take a look at the lint issue documentation: https://googlesamples.github.io/android-custom-lint-
未讀,
Android default lint-rules location
Take a look at the lint issue documentation: https://googlesamples.github.io/android-custom-lint-
2022/1/27
Ruslan Magzyumov
,
Tor Norbye
2
2022/1/27
.use extension checking
The best way to do this would be to use the data flow analyzer, since you want to not just hardcode
未讀,
.use extension checking
The best way to do this would be to use the data flow analyzer, since you want to not just hardcode
2022/1/27
Ruslan Magzyumov
,
Tor Norbye
2
2021/11/24
How I can detect new object creation
You'll want to visit all constructor calls (override getApplicableConstructorTypes() and
未讀,
How I can detect new object creation
You'll want to visit all constructor calls (override getApplicableConstructorTypes() and
2021/11/24
César Puerta
,
Tor Norbye
2
2021/11/24
Setting LINT_API_DATABASE
On Tuesday, November 23, 2021 at 9:48:16 AM UTC-8 cesa...@gmail.com wrote: I'd like to configure
未讀,
Setting LINT_API_DATABASE
On Tuesday, November 23, 2021 at 9:48:16 AM UTC-8 cesa...@gmail.com wrote: I'd like to configure
2021/11/24
dehao wang
,
Tor Norbye
2
2021/11/24
How to get PsiArrayType to PsiType
Try PsiType.getDeepComponentType() (or if you just want the type of the array, PsiArrayType.
未讀,
How to get PsiArrayType to PsiType
Try PsiType.getDeepComponentType() (or if you just want the type of the array, PsiArrayType.
2021/11/24
Dayakar
,
Tor Norbye
2
2021/11/24
findSuperMethods() is not working as expected with TestMode.FULLY_QUALIFED
The test failure should show you the modified test source (where it has taken your original source
未讀,
findSuperMethods() is not working as expected with TestMode.FULLY_QUALIFED
The test failure should show you the modified test source (where it has taken your original source
2021/11/24
Prince Mathew
,
Tor Norbye
2
2021/11/24
Detecting change in view id's
Not currently; this would need to be integrated with the version control system in some way, or by
未讀,
Detecting change in view id's
Not currently; this would need to be integrated with the version control system in some way, or by
2021/11/24
Mz Zz
2
2021/10/26
How do I get a method return type?
Ok never mind. I noticed that the code I copy pasted to my unit test had a suspend keyword. So after
未讀,
How do I get a method return type?
Ok never mind. I noticed that the code I copy pasted to my unit test had a suspend keyword. So after
2021/10/26
Tor Norbye
, …
tho walid
3
2021/10/26
PSA: You can now build with stable and lint with canaries
holla في Wednesday, September 8, 2021 في تمام الساعة 11:05:21 PM UTC+1، كتب drewh...@gmail.com رسالة
未讀,
PSA: You can now build with stable and lint with canaries
holla في Wednesday, September 8, 2021 في تمام الساعة 11:05:21 PM UTC+1، كتب drewh...@gmail.com رسالة
2021/10/26
kiran puppala
,
Tor Norbye
2
2021/9/23
AAR Dependency for Lint Tests
This is a pretty tricky corner case since it has a lot of build system detail in it. When you say
未讀,
AAR Dependency for Lint Tests
This is a pretty tricky corner case since it has a lot of build system detail in it. When you say
2021/9/23
Subodh Nijsure
2021/9/23
Detecting duplicate id across layouts
Hello, Has anyone worked on implementing Detector that will flag duplicate layout id across different
未讀,
Detecting duplicate id across layouts
Hello, Has anyone worked on implementing Detector that will flag duplicate layout id across different
2021/9/23
kiran puppala
,
Tor Norbye
3
2021/9/7
Running lint from command line lint not analysing java/kotlin files
Got it. Thanks for the reply, Tor. On Thursday, 15 July 2021 at 05:29:21 UTC+5:30 Tor Norbye wrote:
未讀,
Running lint from command line lint not analysing java/kotlin files
Got it. Thanks for the reply, Tor. On Thursday, 15 July 2021 at 05:29:21 UTC+5:30 Tor Norbye wrote:
2021/9/7
kiran puppala
2021/9/7
Configure detectors to only run when the Lint client is Gradle but not Android Studio.
Hi Tor, We want few detectors to run only when Gradle lint task is executed but should not run from
未讀,
Configure detectors to only run when the Lint client is Gradle but not Android Studio.
Hi Tor, We want few detectors to run only when Gradle lint task is executed but should not run from
2021/9/7
Zac Sweers
,
Tor Norbye
3
2021/9/2
Suppressing lint issues in pure Java/Kotlin projects
Interesting, in testing it looks like the issue I'm stuck on is a custom lint we have to ensure `
未讀,
Suppressing lint issues in pure Java/Kotlin projects
Interesting, in testing it looks like the issue I'm stuck on is a custom lint we have to ensure `
2021/9/2
Jeremy Woods
,
Tor Norbye
2
2021/8/31
UParenthesizedExpression checks
I'm not sure I understood the question -- but if you have variable.someMethod() that's a
未讀,
UParenthesizedExpression checks
I'm not sure I understood the question -- but if you have variable.someMethod() that's a
2021/8/31
Tor Norbye
,
Drew Hannay
6
2021/8/19
PSA: Lint check for lint checks
It seems like this was broken at some point: https://issuetracker.google.com/issues/197146610 On
未讀,
PSA: Lint check for lint checks
It seems like this was broken at some point: https://issuetracker.google.com/issues/197146610 On
2021/8/19
Tor Norbye
2021/8/12
PSA: Test modes
Hi everyone, it looks like 7.1.0-alpha08 is out now, and one of the things that includes in lint is
未讀,
PSA: Test modes
Hi everyone, it looks like 7.1.0-alpha08 is out now, and one of the things that includes in lint is
2021/8/12
John Rodriguez
,
Tor Norbye
5
2021/8/8
Exception() resolved as <init>()?
On Sun, Aug 8, 2021 at 2:36 PM 'John Rodriguez' via lint-dev <lint...@googlegroups.com
未讀,
Exception() resolved as <init>()?
On Sun, Aug 8, 2021 at 2:36 PM 'John Rodriguez' via lint-dev <lint...@googlegroups.com
2021/8/8
colto...@protonmail.com
,
Tor Norbye
7
2021/8/2
What gradle task to build our custom checks lint jar?
Filed. Thanks! https://issuetracker.google.com/issues/195336464 On Monday, August 2, 2021 at 5:29:03
未讀,
What gradle task to build our custom checks lint jar?
Filed. Thanks! https://issuetracker.google.com/issues/195336464 On Monday, August 2, 2021 at 5:29:03
2021/8/2
Bryan Herbst
, …
Tor Norbye
4
2021/8/2
PrivateResources check for Android modules
We've fully switched over to the new lint model as of 4.2 and refined it further in 7.0 but we
未讀,
PrivateResources check for Android modules
We've fully switched over to the new lint model as of 4.2 and refined it further in 7.0 but we
2021/8/2