code-inspection Questions

2

I'm using PyCharm and I have an error on this SQL statement: SELECT * FROM table WHERE id= %(id)s The code syntax inspection says: <expression> expected, got '%' Is there a way to disab...
Martynne asked 18/3, 2016 at 11:14

1

Solved

Recently i'm looking about the best tool set to do code inspection. My IDE is Intellij 15.0 and i know there is a good inspection capabilities there but when i look over the internet i didn't found...
Puggree asked 6/12, 2015 at 16:5

2

Solved

I have several modules in Android Studio project, and I would like to change inspections settings for one of these modules. More precise, I want to turn off all Android-related inspections in one m...
Mattiematting asked 24/11, 2015 at 10:46

2

Solved

In our environment, we write template Javascript which has areas where server pre-processing inserts values into the code. An example would look like this: var myVarValue = "`serverProcessedVarV...
Espadrille asked 28/7, 2015 at 15:23

1

Solved

I'm using PyCharm 3.4.1 and I have this piece of code in my function: cursor.execute('SELECT distinct "name_{0}", code, sort_order FROM {1}'.format(get_language(), ProgrammeLevel._meta.db_table)) ...
Topo asked 22/8, 2014 at 10:54

1

So while using ReSharper, I was trying to configure my Code Inspection settings and I ran into an issue with one particular case. When trying to change the 'Suspicious type conversion or check' se...
Newbold asked 8/8, 2014 at 23:37

1

Solved

To keep a couple modules I'm building in Python a bit consistent I want to do some automated code checking. For this I want to check the modules for their functions and the arguments the func...
Polard asked 22/4, 2014 at 19:39

2

Solved

What I would like is a handy GUI to inspect objects. The dir() function just isn't enough sometimes! What would happen would I would type view_object(module) and it would give me a GUI window that...
Vilayet asked 23/9, 2011 at 20:22

1

Solved

In common IDEs (pick one) you often have an outline view showing you the list of methods for a specific class. Suppose I have a C++ interface class in IFoo.h that looks like this: #ifndef IFOO_...
Portraiture asked 19/2, 2014 at 10:49

1

Solved

Recently I have been writing some serializable object that also deals with specific logic and has specific life-cycle. In order for it to work properly, it has to be instantiated with an appropriat...
Goethite asked 10/2, 2013 at 14:45

1

Solved

This is my function. I already wrapped both client and message into using clause and still get error when run code inspection. Error points to first using line: public static void Send(MailItem ma...
Osmium asked 24/6, 2011 at 20:40

2

Solved

suppose i have a project with lots of todos, some unintentionally left there, some no longer relevant, some represent future possible features etc. i know that most IDEs can show/filter/sort them,...
Horthy asked 27/7, 2010 at 7:11

1

Solved

How can I view the definition of a S4 function? For instance, I would like to see the definition of TSconnect in package TSdbi. The command showMethods("TSconnect") reveals that there is, among ...
Priorate asked 31/1, 2010 at 15:10

© 2022 - 2024 — McMap. All rights reserved.