christoffer / pycharm-pyxl

IntelliJ Pyxl Extensions
MIT License
21 stars 3 forks source link

False positive causing issues with pure python files #1

Closed christoffer closed 10 years ago

christoffer commented 10 years ago

This snippet is an example where the lexer get's a false positive, from matplotlib/axes.py

scaley = (yy<ymin) or (yy>ymax)

This throws an exception on word indexing (for find usages):

Error while indexing /System/Library/Frameworks/Python.framework/Versions/2.7/Extras/lib/python/matplotlib/axes.py
To reindex this file IDEA has to be restarted 
java.lang.RuntimeException: child must not be null: expression text <ymin
nilsbunger commented 10 years ago

Fixed!