First time here? Check out the FAQ!
1

Project browser and refactoring

Hello, I have a big project and I keep some old code and trials in dedicated directories. I would like these directories to be shown in the project browser (I need to look into it sometimes), but to be excluded when I use refactoring. I tried to exclude them from the project but they disappear in the project browser which is logical. But when I do refactoring, wing wants to update theses directories and I do not want this. Is there a solution thanks

piscvau's avatar
526
piscvau
asked 2020-03-26 09:31:57 -0500
Wingware Support's avatar
4.1k
Wingware Support
updated 2020-03-26 10:33:22 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Assuming you mean Rename refactoring, do items in files within the excluded ors have ?'s by them or are they shown as definite uses of the symbol?

Wingware Support's avatar Wingware Support (2020-03-26 10:37:09 -0500) edit
add a comment see more comments

1 Answer

0

I tried this and if I right-click on a directory in the project and use Remove/Exclude From Project, Wing does not include files in there in the list for Rename refactoring. If that's what you're doing and you have the latest version of Wing then we'ld need more information to try to track this down.

Wingware Support's avatar
4.1k
Wingware Support
answered 2020-03-26 14:00:31 -0500
edit flag offensive 0 remove flag delete link

Comments

Yes With right click exclude from project, the rename does not include these files in the list for rename. However the directory no longer shows up in the project browser and I would like it to stay visible in the project browser. I do understand that this behavior is correct, but my wish would be that ithe directory remains visible in the project browser.

piscvau's avatar piscvau (2020-03-27 06:00:35 -0500) edit

On the whole it's probably better to have multiple projects, one for the current/active version of code, and another for old versions. There are multiple ways in which having multiple versions of the same code base in the same project could get pretty confusing.

Wingware Support's avatar Wingware Support (2020-03-27 08:36:45 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer