8000 Cannot open file when it has # coding: pyxl not on the first line · Issue #24 · christoffer/pycharm-pyxl · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Cannot open file when it has # coding: pyxl not on the first line #24
Open
@ashtuchkin

Description

@ashtuchkin

When this plugin is installed in PyCharm 2016.1, you cannot open a file that has new line and then pyxl annotation, like this:


# coding: pyxl
... other stuff ..

I started to debug this and found that the problem is with the highlighting lexer - it returns tokens with gaps, specifically it returns "new line" at pos 0-1, then another "new line" at pos 14-15, skipping the coding string. My guess is that the problem is in lexer definition, but I don't have time to fix it for now. Maybe somebody else can do it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0