Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: dcbdbis on July 12, 2020, 06:53:35 pm

Title: [PARTIALLY SOLVED] wks files don't reopen automatically
Post by: dcbdbis on July 12, 2020, 06:53:35 pm
Good Morning All,

Using Code::Blocks 20:03 under MX-Linux 19.2 AHS edition. I'm on an AMD ThreadRipper Gen I, with 64 gb of ram, and 15 tb of storage, so horsepower is not a problem.

I've got a fairly large project that is nearing the end, and I'm having an issue that is not a show-stopper, but is an irritant to my workflow.

I've searched the web, and searched the forums, and found nothing on this. Likely - it's probably a fault in my search terms.

The wxSmith files (wks) do not automatically reopen when I open an existing project in CB. It then forces a person to manually re-open them. The .cpp and .h files reopen perfectly - always have. But not the wks files. On larger projects this becomes a pain in backsides.

In my workflow - I always have the WKS displayed first, the cpp file next, and then finally the .h file. This makes it easy to tweak the UI at the same time I'm working on my code.

Does anyone have a workaround for this? Or a link to a post that does?

I would very much appreciate it.

Thank You!


Dave
Title: Re: wks files don't reopen automatically
Post by: oBFusCATed on July 12, 2020, 07:17:23 pm
They are not remembered/reopened/saved automatically. Only source files do this.

On larger projects this becomes a pain in backsides.
Just use alt-g (Search -> Goto file).
Larger projects means hundreds and thousands of files.
I doubt you want to have them all opened and then to search for them in the drop down of the notebook.

Title: [PARTIALLY SOLVED]Re: wks files don't reopen automatically
Post by: dcbdbis on July 12, 2020, 10:09:50 pm
OK - I understand.

May I suggest for the next version - that you include opening any wks files at the same time you do the same for cpp and h files?

I didn't think about the shortcuts. It's a little easier than traversing through the entire resource tree. And Yes - I have hundreds of files in this application.

Thank you for your response!


Dave
Title: Re: [PARTIALLY SOLVED] wks files don't reopen automatically
Post by: stahta01 on July 12, 2020, 11:39:05 pm
Did you try adding "*.wxs" to the project source files?

Right click on workspace;
Select "Edit file types & categories"

No idea if it will make a difference; but, your request here will be lost and forgotten.

Tim S.
Title: Re: [PARTIALLY SOLVED] wks files don't reopen automatically
Post by: oBFusCATed on July 13, 2020, 01:09:54 am
Did you try adding "*.wxs" to the project source files?

Right click on workspace;
Select "Edit file types & categories"

No idea if it will make a difference; but, your request here will be lost and forgotten.

Tim S.
It will be good if try this yourself.
Giving random advice without understanding the consequences isn't really helpful in the long run.  8)