nnmatveev / idea-plugin-protobuf

Google Protocol Buffes support for Intellij IDEA
Other
120 stars 39 forks source link

Syntax Highlighting doesn't work in PyCharm #55

Open georgevreilly opened 10 years ago

georgevreilly commented 10 years ago

When I look at a .proto file in Android Studio, I see syntax highlighting. When I look at the same file in PyCharm, there is no syntax highlighting. My colleagues have the same experience on their computers.

PyCharm installed Version 0.3.0 of the Google Protocol Buffers support, while Android Studio had 0.5.7. PyCharm thought 0.3.0 was the latest version.

I uninstalled 0.3.0 from PyCharm, downloaded 0.5.7 from JetBrains, and installed that from disk in PyCharm. It made no difference.

tcripps commented 10 years ago

The plugin was only written to support Java. I know protocol buffers can generate python files.

Did version 0.3.0 offer code hilighting? That was before I became involved with the project.

codepainters commented 9 years ago

I confirm this plugin doesn't work under PyCharm (4.0.1 and last 3.x), not even the syntax highlighter. A release with editor support and no code generation would be a nice start :)

georgevreilly commented 9 years ago

I'd be perfectly happy with syntax highlighting for .proto files. I hadn't even realized that the plugin could trigger code generation. The protoc compiler can indeed generate Python files, but it's the source .proto files that I want to look at in PyCharm.

As far as I can tell, most of the IntelliJ plugins work in all of their editors.

czras commented 9 years ago

It would be nice to have syntax highlight working standalone, as that would be useful in CLion too.

vickychijwani commented 9 years ago

+1 for syntax highlighting. Doesn't work in CLion 1.0.4 either.

GamePad64 commented 9 years ago

Syntax highligting for CLion would be very well. C++ code generation is not needed, because this is automated with CMake in C++ world.

kshchepanovskyi commented 8 years ago

Hi @georgevreilly @codepainters @czras @vickychijwani @GamePad64

I developed new plugin that supports all Jetbrains products. Current version is really simple - it suppports only syntax highlighting for proto2/proto3. More features will come in following releases.

https://plugins.jetbrains.com/plugin/8277