Code Monkey home page Code Monkey logo

Comments (4)

dkrystki avatar dkrystki commented on May 22, 2024

Hi @jacobm-tech big thanks for submitting this issue.
I did test this version on windows prior to releasing and the error did not happen for me.
It should be easy to fix though seeing the traceback.

About the squares. The idea was to indicate which files are reloadable.
Would making the squares smaller and go away after stopping the process help?
Also a good idea with the disable option.

I could not reproduce the "Background Tasks are Running".
Could you confirm it is reproducible on your side?

I have removed the version from the marketplace until I release a hotfix.

from reloadium.

jacobm-tech avatar jacobm-tech commented on May 22, 2024

Hi @dkrystki, thanks for making this plugin - I think it's great!

I am no longer sure that the backround tasks thing is connected to Reloadium. I kept seeing it with Reloadium while trying to diagnose the issue above, because I was opening and closing it all the time. But I think it may just be PyCharm doing stuff silently when it is opened and closed frequently. If you know a way to see what PyCharm is doing in the background (with nothing in the task list), please let me know, and I'll see if there is something Reloadium-related in there.

The orange squares are a UI issue, I can't say that my own preference is the right one. I would definitely like them to go away when not running, and would also like them to be smaller or optional. Also, I am not sure how useful they are: all Python files in the current project are reloadable, so they all get this decoration. It would be better to prominently indicate when something can't be reloaded, e.g. if you are debugging a Python file, you would get a message in the console, "Reloadium can't reload this file while running because $reason", if there is such a thing.

Incidentally, the marks don't get applied consistently in my project, some files do not get them initially, but get them when you stop in the file, and reloading works fine.

from reloadium.

dkrystki avatar dkrystki commented on May 22, 2024

@jacobm-tech appreciate the feedback!

Not sure about the background tasks issue. If it happens again I guess the best way to find out would be to look into idea.log file.

That's true that files in the current directory are watched by default (it can be turned off in the settings).
Some people though run Reloadium on projects with very complex directory structures adding external libraries to watched paths or ignoring others making the situation a bit tricky.

Indication does not mean only that the file is watched but also that is loaded by python interpreter (most likely the consistency thing you mentioned). That should help with situations where the user changes a file which is not imported and there is no effect (no update indications etc) which can be confusing.

I'll try making it a bit less intrusive and also add the disable checkbox.
I think it is a useful feature but I'm open for further feedback and suggestions

from reloadium.

dkrystki avatar dkrystki commented on May 22, 2024

@jacobm-tech Fixed version has been released. It's under the same number so you might need to uninstall and install again.

from reloadium.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.