Questions tagged [inspection]
111 questions
1
vote
3 answers
Python Inspect - Lookup the data type for a property in a GAE db.model Class
class Employee(db.Model):
firstname = db.StringProperty()
lastname = db.StringProperty()
address1 = db.StringProperty()
timezone = db.FloatProperty() #might be -3.5 (can contain…

NealWalters
- 17,197
- 42
- 141
- 251
1
vote
0 answers
IntelliJ IDEA code inspection profile to show dependency and resolving errors
I have a multi-module project which is amidst migration process. I cannot compile some dependent module and thus it's hard to track dependency/resolving errors without explicitly opening each and every file to be checked by the editor.
I created…

zeratul021
- 2,644
- 3
- 32
- 45
1
vote
1 answer
Android IntelliJ IDEA project and TeamCity (Inspections)
I'm configure inspections for my Android project in IntelliJ IDEA (11.1.3). I want to run this inspection checks on my CI TeamCity server (7.0.1 (build 21326)) on each commit, but them doesn't work. Every time I got an error: "Inspections not…

Dmitriy Tarasov
- 1,949
- 20
- 37
1
vote
2 answers
as3 object serialization (to as3 code)
what i'm trying to do is walk an object that is also a complex tree of objects and output the actionscript 3 code it took (or takes) to create instantiate and populate that object and all its children.
so for instance if you saw something like this…

Cameron A. Ellis
- 3,833
- 8
- 38
- 46
0
votes
1 answer
XML inspection ignores declared elements
I have run into an issue with a custom XML DOCTYPE, where none of the elements seem to get registered by PHPStorm.
Thus, all I get is a ton of red. I have used the "ALT-ENTER -> Fetch DTD" method as advised in the documentation, which got rid of the…

cjoy
- 406
- 5
- 14
0
votes
1 answer
Get the public path to a class object in python
I am wondering if there is a mechanism in python to fetch the "public" path to a class object in python (PEP8, __all__, "explicit reexport", ...).
To provide a minimal example, let's assume the following package structure:
|-- my_package
| |--…

ddluke
- 1
- 2
0
votes
0 answers
Visual Studio code inspection like in Rider
How can I display inline compiler warnings in VS? Visual Studio shows compiler errors inline, but not warnings.
In Rider:
In Visual Studio:
AS you can see, there's a clear possible nullreference, which is easy to see, but Visual Studio doesn't…

shredder
- 85
- 1
- 10
0
votes
0 answers
How to conduct a 3D CAD comparison to obtain the magnitude deviations with a pre-alignment?
I am currently working on predicting distortion of metal additive manufactured wedge structures. we have made a feasible numerical framework to fabricate components using Abaqus CAE software. In order to validate the framework we are looking into…

refak makeen
- 11
- 1
0
votes
0 answers
How can I get a status info from all my celery workers?
I have multiple celery workers running in separate docker containers that subscribe to one Rabbitmq broker. I want to track task execution in each worker including number of running tasks in each worker, number of tasks in queue, and so on.
I want…

ben
- 23
- 2
0
votes
0 answers
Avocode alternative for inspection and slicing designs
As Avocode is shutting down at the end of the year, what would you recommend as a slicing program that also extract CSS code for elements?
Personally I didn't find Zeplin as good as Avocode and I was wondering if there is alternative tool that I'm…
0
votes
1 answer
PhpStorm use import in the Sass for inheritance. Tips in IDE not worked in the TypeScript file
I have 2 Sass files:
common.module.sass
.title
color: red
...
other.module.sass
@import "./common.module"
...
I imported second file in the other.tsx
import styles from '@/styles/sprites/game-over.module.sass'
...
const smthFunc = () => {
…

Ivan Kurziukov
- 3
- 2
0
votes
1 answer
IntelliJ inspection for verbose array initialisation
Is there an inspection in IntelliJ which will detect when I have written
final String[] args = new String[]{"a", "b"};
instead of the shorter (and equally valid)
final String[] args = {"a", "b"};
I can't find one and I would like a weak…

Steve Bosman
- 2,599
- 1
- 25
- 41
0
votes
0 answers
Why PhpStorm 2019.3 is enforcing me to use static closures instead of non-static in Route::get() Laravel
I used to code in Laravel, and I'm pretty good with it.
I've moved from VSCode to PhpStorm 2019.3, and it is enforcing me like it has intentions inside for language features, it gives me a little warning message that you should declare this closure…

Danish Mehmood
- 111
- 1
- 7
0
votes
2 answers
find_element_by_xpath() gives me Syntax Error by only copy a pasting Xpath from Safari
This is the website I want to take data: https://www.wunderground.com/history/daily/gb/london/EGLC/date/2017-2-10. I want to take the Day Average Temp which is 2.7 in this case. When I inspect the element in safari I can copy the row as a HTML,Xpath…

GUILLE DOMINGUEZ
- 9
- 3
0
votes
1 answer
Where is the setting for the suggestion to wrap incompatible argument for TextView's setText() method using the static method String.valueOf()?
Recently I found out that my Android Studio no longer gives the suggestion to wrap an incompatible argument for the TextView's setText() method using the String.valueOf() method.
I sometimes forget to convert the value/variable that I'm going to…

LuckMan
- 85
- 1
- 5