Questions tagged [code-inspection]

261 questions
0
votes
1 answer

How to access to names of functions defined before a class within the class

Let's consider the following file myfile.py. def f_1(): print("Run !") def f_2(): print("Run, run !") class Test(): def __new__(cls): print("In the class", dir()) print("After class", dir()) Test() I would like to access to…
projetmbc
  • 1,332
  • 11
  • 26
0
votes
3 answers

Android Studio debugger listing variables like IntelliJ IDEA

using Android Studio for development. Last week I discovered really neat feature in IntelliJ IDEA IDE, which when debugging Java app shows listing of variables next to the line of code. It is really helpful. I have been wondering if the same option…
Hokyjack
  • 103
  • 1
  • 7
0
votes
1 answer

Using custom extension (/x) in resharper 9.0 command line inspection

So I've got a custom nuget package I build which is installed in vs2013 through the ReSharper extension manager interface. I remember back with resharper 8.2 I could specify a plugin parameter /plugin=xxx.dll to import a custom plugin but with the…
0
votes
1 answer

Block viewing the backbone Js app code

Can I block viewing the backbone.js app code viewing in Inspect element -> sources? I'm not taking about view Html and css, I'm talking about the Backbone view files, which holds model data. Code is deployed in heroku, Is there any addons to block…
Viji
  • 2,629
  • 1
  • 18
  • 30
0
votes
1 answer

python spyder editor autocompletion and inspection of modified classes with setattr

after spending hours in googling, I learned a lot, but did not find any close topic to the following: I am currently programming on dynamically created classes via a factory method. The reason is, that the method names should be populated according…
PyPhreak
  • 3
  • 1
  • 2
0
votes
1 answer

Why is R# reddifying bits of my code?

When I run ReSharper > Inspect > Code Issues in Solution in my client app (in VS 2008), I get the expected "Inspection Results" dialog. However, when I run ReSharper > Inspect > Code Issues in Solution on my Web API app (in VS 2013),not only does it…
0
votes
0 answers

No autocomplete in android studio with xml possible

suddenly my xml injection stopped working on attributes and I do not know how to fix it if I press STRG+SPACE, it says "no suggestions". The namespace seems to be valid, because injection works on adding shapes etc
Marian Klühspies
  • 15,824
  • 16
  • 93
  • 136
0
votes
2 answers

Difference between "var objectName= new SomeObject()" and "interfaceName objectName= new SomeObject()"

I was doing some code analysis via code inspections from resharper and i got the next warning: Only implementations of property 'propertyname' are used This warning i have on my interface, if I google i found this page of…
bruno
  • 1,830
  • 2
  • 22
  • 36
0
votes
1 answer

Problems importing inspecion profile with IntelliJ IDEA

I want to import an inspection profile to my IntelliJ IDEA project. I have tried the following: click on the inspector icon (down-right corner of the window) -> configure inspections -> import -> [select the profile XML file] -> OK. After doing so,…
Josep
  • 495
  • 2
  • 6
  • 16
0
votes
0 answers

IntelliJ IDEA code inspection highlighting faulty visibility errors

So, I've got this problem - a strange problem. I have a library as part of an IDEA project - in which all the code is publicly visible under 'tk.*' (IE: all classes exist in sub-packages of tk). Should the attempt be made to import a class residing…
Roman
  • 77
  • 2
  • 13
0
votes
2 answers

How to use Chrome inspector console

on this page there is a button with a jQuery effect. I want to speed up the animation and see how it will look like. So I opened up the inspector and notices there is a fade effect with 500 speed. I want to chagne this to 100 and see what it'll look…
nasty
  • 6,797
  • 9
  • 37
  • 52
0
votes
1 answer

PhpStorm open external file in project with inspection and highlighting

This might be a minor issue, but I often have to fight with it. I have many files without extension outside my project folder and I want to open these files as PHP files. Meaning the indentation, syntax-highlighting and completions is correct. I…
dan-lee
  • 14,365
  • 5
  • 52
  • 77
0
votes
1 answer

AppCode: unused statement in .h file

AppCode is great utility for refactoring and review code. Last time I use Code Inspector in menu: 'Code -> Code Inspect...', but this code inspector have some troubles. General trouble, when code inspector found trouble with 'Unused statement' with…
Ilya Ilin
  • 2,283
  • 21
  • 27
0
votes
4 answers

XmlReader skipping some blocks

I have an xml structured like this: Header \-Timeseries (1-N) \- Period (1-N) \- Interval (1-N) This is an approximate example:
ipavlic
  • 4,906
  • 10
  • 40
  • 77
-1
votes
2 answers

'//noinspection' keyword list for IDEA

I can use //noinspection statement to disable suppress some types of code inspection in IDEA IDE (WebStorm, PhpStorm, ...): // noinspection JSCheckFunctionSignatures Where can I find a list of all inspections available for this statement? UPDATE:…
Alex Gusev
  • 1,526
  • 3
  • 16
  • 35
1 2 3
17
18