Author Topic: codesnippets.xml  (Read 6676 times)

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
codesnippets.xml
« on: July 26, 2007, 04:57:40 pm »
When I have more than 1 CB open, and I switch around always get nagged by a codesnippets.xml file that has changed --> Reload y/n. Any solutions/workarounds in the pipeline for that ?

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: codesnippets.xml
« Reply #1 on: July 26, 2007, 05:23:31 pm »
Any solutions/workarounds in the pipeline for that ?
Vote++. This is quite annoying.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ

Offline dje

  • Lives here!
  • ****
  • Posts: 682
Re: codesnippets.xml
« Reply #2 on: July 26, 2007, 05:25:56 pm »
Quote
Vote++. This is quite annoying.
Vote#  :D

Dje

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2874
Re: codesnippets.xml
« Reply #3 on: July 26, 2007, 09:56:20 pm »
When I have more than 1 CB open, and I switch around always get nagged by a codesnippets.xml file that has changed --> Reload y/n. Any solutions/workarounds in the pipeline for that ?

Has the xml file actuallly changed?

Or does the dialog comes up without any changes to the xml?

I'm depending on the file time-stamp. Any suggestions?

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2874
Re: codesnippets.xml
« Reply #4 on: July 26, 2007, 10:25:07 pm »
Well, I'm going to need some help here.

I opened two CB's with CodeSnippets active in both.

I switched back and forth between the two with no adverse effects and no annoying message.

I changed a snippets. And switched back and forth. No annoying messages.

I closed one CB. Switched to the other CB. Then I got the message as I should have. I'd changed the xml.

Would you rather CodeSnippets throw the xml changes away. Or just secretly load the file?

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: codesnippets.xml
« Reply #5 on: July 26, 2007, 10:29:13 pm »
don't change the snippets and close 1 CB --> that's how I saw it for the very first time.

I think (personal opinion), it should be more or less th same and how and when the default.conf is saved).
One CB open, and you change some params, the other CB has no knowledge about it. I think this is safe enough though. If   in the other you change something conflicting, well yeah you got into trouble, because you were looking for it ;-)

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2874
Re: codesnippets.xml
« Reply #6 on: July 26, 2007, 11:34:42 pm »
fixed SVN 4328

Offline killerbot

  • Administrator
  • Lives here!
  • *****
  • Posts: 5529
Re: codesnippets.xml
« Reply #7 on: July 26, 2007, 11:58:24 pm »
great, will test it tomorrow on windows

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9723
Re: codesnippets.xml
« Reply #8 on: July 27, 2007, 08:17:51 am »
fixed SVN 4328
Confirmed. Thanks a lot, Pecan! :-)
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ