News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

cb_share_config can not import the syntax highlighting config

Started by digital, September 16, 2019, 07:34:50 PM

Previous topic - Next topic

digital

I am using 17.12

I am trying to follow this http://wiki.codeblocks.org/index.php/Syntax_highlighting_custom_colour_themes to get a basic dark theme in Code::blocks.  When I try to select the .conf file to import the themes it shows a message box saying "TinyXML error: Error document empty." I have tried just copy/pasting the xml at the bottom of the page into the .conf and downloading this gist https://gist.github.com/yzhong52/6852140faa233408de67

oBFusCATed

What are the steps you're executing? Are you sure you're exiting codeblocks before running cb_share_config?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

digital

I am exiting code blocks then launching "sb_share_config.exe".  I click on the "..." button next to "Source configuration file:". When i select the conf file i have saved it gives the error.

oBFusCATed

Works fine for me.
I've:
1. opened the gist link.
2. Pressed the raw button
3. right click -> save page
4. start cb_share_config
5. pressed the ... and selected the saved file

Are you sure your .conf file you save is a xml file?
(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

digital

If you look at the contents of the file it definitely xml.  I followed your steps and still doesn't work :/ I will try to reinstall Code::Blocks

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

digital

It did solve it though.  Something must of gotten messed up in the install

oBFusCATed

(most of the time I ignore long posts)
[strangers don't send me private messages, I'll ignore them; post a topic in the forum, but first read the rules!]

BlueHazzard

If you encounter similar problems a second time, can you please post the two xml files you are using?
Thank you!