whmine / protobuf-dt

Automatically exported from code.google.com/p/protobuf-dt
0 stars 0 forks source link

editing causes annoying popup warning dialog #248

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

1. Open a .proto file in the editor
2. Edit the file with several keystrokes

What is the expected output? What do you see instead?

A dialog box pops up saying "The resource is currently edited in another 
editor, do you want to continue?"

What version of the product are you using? On what operating system?

This is on Eclipse 4.4.  I didn't have any issues with 4.3

Please provide any additional information below.

I found this related issue indicating it's probably the result of using xtext 
2.7.  https://github.com/vtst/ow/issues/240

Original issue reported on code.google.com by borkh...@gmail.com on 10 Feb 2015 at 7:19

GoogleCodeExporter commented 8 years ago
Had this same problem. I created a new protobuf editor implementation (called 
Protolipse) for Eclipse 4.5 with Xtext 2.8, which doesn't have this problem. 
Maybe you could try it out:
https://github.com/dvdkruk/protolipse/releases/tag/0.0.1

Original comment by damiaa...@gmail.com on 22 Sep 2015 at 12:54

GoogleCodeExporter commented 8 years ago
https://www.eclipse.org/forums/index.php/t/827695/

In your *EditorCallback, replace extends AbstractDirtyStateAwareEditorCallback 
with IXtextEditorCallback.NullImpl, as done e.g. here 
https://github.com/vtst/ow/commit/1f95d1e29e5aa0513162bc595fea2d190d4111b5#diff-
63d50f0721730fd4334c0e260e28d97bL19 or 
https://github.com/thSoft/elysium/commit/f6893dca65db3031ed2e37651c85d4e32524fde
9#diff-aa4ab66583caedc104cdcedbffa96cc2L14 or here 
https://github.com/jknack/antlr4ide/issues/89

Original comment by michael....@gmail.com on 29 Sep 2015 at 2:04

GoogleCodeExporter commented 8 years ago
I also see this constantly on Eclipse 4.5.0 and editor 1.4.1.201306170929

Original comment by d...@drewcox.com on 29 Sep 2015 at 11:30

GoogleCodeExporter commented 8 years ago
I was having the same problem and after updating the problem was gone. Or at 
least appears to be working now. Currently: Eclipse 4.4.2. Protocol Buffer 
Editor updated to 1.4.3. Xtext 2.4.2.

(Xtext was removed during the protobuf update so I reinstalled it and it wanted 
2.4.2 to be compatible.)

Original comment by daniel.a...@ist.utl.pt on 13 Oct 2015 at 10:20

GoogleCodeExporter commented 8 years ago
I experienced the same problem with:
* Eclipse mars 4.5.1
* protobuf-dt 1.5.3
* Xtext 2.8.4

I solved uninstalling both protobuf-dt and Xtext and then reinstalling them 
following the steps below:
# install 
[http://www.eclipse.org/modeling/download.php?file=/modeling/tmf/xtext/downloads
/drops/2.6.1/R201406120726/tmf-xtext-Update-2.6.1.zip Xtext 2.6.1] All-in-one 
solution from: 
http://www.eclipse.org/modeling/tmf/downloads/index.php?project=xtext&showAll=1
# Install protobuf-dt 1.5.3 from Matketpale 
https://marketplace.eclipse.org/content/protobuf-dt or using the following 
update site: http://junit.github.io/protobuf-dt/git/update-site/site.xml 
# Optionalling unistalling all the Xtext (Xtend) plugin installed with the 
all-in-one solution that are not needed for protobuf-dt funcitoning. The only 
needed one is Xtext Runtime

Original comment by simone.d...@gmail.com on 13 Nov 2015 at 9:33