Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LOEclipse with Python: Make "runtime" copies of source files uneditable #70

Open
t-vi opened this issue May 20, 2019 · 0 comments
Open

Comments

@t-vi
Copy link

t-vi commented May 20, 2019

Thanks for making LOEclipse!

Here is something that tricked me more than a few times:
When using my Python extension with LOEclipse, debugging (understandably) happens in some file under dist/.ooo-debug (where the extension is installed to).
Now under Python, ".py" files are run, so it is really, really tempting to modify them during / shortly after debugging. But this is a trap: They're not the "source" files (under source/ or classes/) but the distribution files.
This (more or less) leads to losing my edits when I re-run the extension.

It would be great if LOEclipse could prevent me from editing the wrong files.
I'm not sure how to achieve that (making them read-only? making them links to the real file?), but it's really easy to get wrong and I felt very bad when it happened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant