How to remove project in PyCharm?

2020-05-19 03:42发布

If I'm closing a project and then just delete the project folder, after PyCharm restarts an empty project folder is created again.

10条回答
神经病院院长
2楼-- · 2020-05-19 04:00

Version 2017.2.1

  1. Press Alt+1 to bring the project pane, and make sure you're in Project view (not Project Files view).
  2. Select the desired project, and choose "Delete from project view" from the context menu (right click). You can also use Delete key.
查看更多
疯言疯语
3楼-- · 2020-05-19 04:03

Highlight the project with your mouse and hit the del key, which works for me.

查看更多
你好瞎i
4楼-- · 2020-05-19 04:04

I had the same issue. My solution was:

  1. Close project.
  2. Rename the folder you want to dissapear
  3. Open pycharm project. A dialog will be shown asking if you want Pycharm remove the folder. Answer: yes.

That is enough.

查看更多
不美不萌又怎样
5楼-- · 2020-05-19 04:06

Works for Windows and MacOS.

  • File -- Open Recent -- Manage Projects enter image description here
  • Cliek X to delete from Recent Projects enter image description here
  • Delete local directory

According to https://www.youtube.com/watch?v=ksbmc0coO4k

查看更多
疯言疯语
6楼-- · 2020-05-19 04:08
  1. click the project you want to remove.
  2. menu bar Edit-> Remove from Project View.
查看更多
姐就是有狂的资本
7楼-- · 2020-05-19 04:10

Just follow these steps in order. They assume you currently have the project open in a PyCharm window:

  1. Close your project by clicking on File -> Close Project
  2. Locate your project in the PyCharm file directory
  3. Delete your project's directory

I agree that PyCharm's handling of what should be a very simple procedure is crappy. Maybe this will be improved in the future?

查看更多
登录 后发表回答