CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

Where do IDE Options save?

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
allenhuffman



Joined: 17 Jun 2019
Posts: 554
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

Where do IDE Options save?
PostPosted: Thu Aug 17, 2023 9:22 am     Reply with quote

IDE Options allow changing things like tab position (and whether a tab is a tab or a space).

Where do these get saved? Some else opened a project and noticed the tab spacing did not match. If this is not part of the project, is there another file we could check in to version control so everyone opening the project sees the same tab settings?

Thanks...
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Thu Aug 17, 2023 10:02 am     Reply with quote

It is in the .ccspjt file.
Did he open the project, or just the source file?. If he opens the source
file it could be using his own local project file.
allenhuffman



Joined: 17 Jun 2019
Posts: 554
Location: Des Moines, Iowa, USA

View user's profile Send private message Visit poster's website

PostPosted: Thu Aug 17, 2023 10:09 am     Reply with quote

Ttelmah wrote:
It is in the .ccspjt file.
Did he open the project, or just the source file?. If he opens the source
file it could be using his own local project file.


Thanks -- I'll look in to that. I opened a few projects and checked that screen and saw what I expected, so it could be that.
_________________
Allen C. Huffman, Sub-Etha Software (est. 1990) http://www.subethasoftware.com
Embedded C, Arduino, MSP430, ESP8266/32, BASIC Stamp and PIC24 programmer.
http://www.whywouldyouwanttodothat.com ?
jeremiah



Joined: 20 Jul 2010
Posts: 1354

View user's profile Send private message

PostPosted: Mon Aug 21, 2023 9:05 am     Reply with quote

Some of those might be local to your account at:
C:\Users\<user_name>\AppData\Roaming\PICC\pcw.ini

In particular the whether tabs are used and what size
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Tue Aug 22, 2023 2:59 am     Reply with quote

If you think about it, this explains a lot of the oddities that sometimes seem
to happen with the project configuration.
The INI file will be related to the application itself (so the IDE), not the
'project'. It will contain things that are changed for the whole IDE.
Then the CCSPJT file contains the settings for the actual project.
The two being separate, explains why sometimes some settings seem to
remain, and others get lost.
So if you change the menu layout in the sidebar, or at the top of the screen,
I'd expect this to be in the INI. However things like whether the compile
generates a symbolic listing or not would be in the project.
I suspect CCS may have the 'boundary' blurred a little, so some things
changed as part of the project are actually stored in the INI. Result the
problem being found here...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group