working with workspaces and Pydev in Eclipse - eclipse

im not sure what i did.. but i am working through some tutorials to get up to speed on python, and i started getting this error message... any ideas on how to fix this? from the error, i looked up the message, and it looks like wham i press the run button it is looking for a file that is no longer there.... but I'm not even working on that file anymore... I'm trying to run something different that does not refer to the previous file.
what does work is if i do run as.. but id rather not do that every time. I'm sure there is a setting I'm just not aware of that i messed up.

Well, not sure how exactly you're getting to that point from your explanation, but please take a look at: http://pydev.org/manual_101_run.html to see how to properly run a module inside PyDev.

Related

Variables panel not showing when debugging any language in VSCode

I used Python with VSCode for the first time in a while. When I went to debug the script I'd written, I couldn't see any variables in the debug panel. It's not just that none are showing up - there's not even a section where they would be appearing - please see the screenshots below.
When I right click on the three dots at the top of the debug panel, I can see "Watch", "Call Stack", and "Breakpoints", with ticks next to them, but no "Variables" option.
I swear I used to be able to see variables, and everything I'm seeing online is saying that I should be able to, but they just don't seem to be there. At first I thought it was just Python, but I've just tried to debug a simple C program and the same thing happens.
Besides this issue, the debugger seems to work just fine.
What I'm seeing:
What I'm supposed to be seeing, and what I used to be able to see:
Any information would be really helpful, it must be something daft I'm missing.
To clarify, I've tried a fresh VSCode install, which did not fix the issue.
Solution moved from #DCoxshall's question post.
Just did [a reinstall] and the issue disappeared. If anyone knows what caused it I'd still be interested in information, although the problem is now gone.

How to disable the "Get Started" tab in Theia before the first execution?

I have a Theia IDE built in a docker.
Every time I launch a new docker and open a python file for the first time, I got some annoying pop-up:
A new tab: Python - Get Started
A pop up: Linter pylint not installed
Both have a Do not show again option. However, it does not work in my use case because every time a user connects, he will get a new Docker.
I tried to look in the settings and preferences but could not find where to disable these pop-ups.
I also tried to look at the settings files (launch.json for example) after having clicked the Do not show again button but nothing change.
The perfect solution for me would be to add a line in the launch.json file to tell Theia to never display those pop-up in the first place but I am not sure it is possible.
If you know a way to do it (in the launch.json or another way) I would be pleased to hear it!
If you know how to do it in VS code I would also be pleased to hear about it as Theia took a lot from VS code
Thanks!
I finally found the answer by observing which files were changed last on the docker.
I found out that you have to write "python.showStartPage": false in /home/theia/.theia/settings.json
However, it was not enough, I also had to add some lines in /home/theia/.theia/plugin-storage/global-state.json.
I don't know which lines exactly as I just copied-pasted the full file from a previous execution. But I would guess that it is one of the lines beginning with gettingStarted.overrideCategory

Cucumber-eclipse-maven- project

I have a question and I have been looking for a lot of reviews and nothing seems to work.
I am trying to run my project in my mac.
And always than I put in my cucumber file for example:
example:
only the line where I use "<>" show the next message : "step does not have a matching glue code.
and I totally sure that the same name is connected with his method in my page objects.
The weird thing is that in my windows computer the project run perfectly. I don't know why occurs this.
I hope you can help me.

Visual Studio Code 'helping' doesn't work

I really don't know how to explain my problem. My IDE just stopped 'helping' me coding. As an example in the picture below when I used to write 'this.' the IDE should suggest me all my properties/methods. right now as you see nothing happens no matter how long I'm waiting. looks like something messed up over there, I tried to install it again but same result.
Forgot to update: after installing it again and update it -problem solved.

This error keeps showing up on my desktop

This Javascript error keeps showing up on my desktop, and when i delete it another one will pop up.
Can anybody with knowledge about this please help me?
Oh the image is on Danish so yeah. Translated it says that there was a script-error with the script, and asks if i still want to play the script on this site.
Solution Found
Go to Control Panel
Go to Programs and Functions
See if there is any program that refers to the url-error-message you got, and if there is, delete it.
Note If the program is a program that you need to have for running your system or just an important program, don't delete it, there could be other ways to fix it.
Other ways to fix it
1. Start up the installer that you used to install the program, if there is a button that says "Repair software/program" or something like that; tap the button.
If there isn't a button that says "Repair software/program" (or something like that); try to install the program again.