Code::Blocks Forums
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email
?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
As usual while waiting for the next release - don't forget to check the
nightly builds
in the forum.
Home
Help
Search
Login
Register
Code::Blocks Forums
»
User forums
»
Help
»
cb_share_config can not import the syntax highlighting config
« previous
next »
Send this topic
Print
Pages: [
1
]
Go Down
Author
Topic: cb_share_config can not import the syntax highlighting config (Read 3612 times)
digital
Single posting newcomer
Posts: 4
cb_share_config can not import the syntax highlighting config
«
on:
September 16, 2019, 07:34:50 pm »
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
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: cb_share_config can not import the syntax highlighting config
«
Reply #1 on:
September 16, 2019, 07:54:55 pm »
What are the steps you're executing? Are you sure you're exiting codeblocks before running cb_share_config?
Logged
(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
Single posting newcomer
Posts: 4
Re: cb_share_config can not import the syntax highlighting config
«
Reply #2 on:
September 17, 2019, 06:20:53 am »
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.
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: cb_share_config can not import the syntax highlighting config
«
Reply #3 on:
September 17, 2019, 07:51:41 am »
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?
Logged
(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
Single posting newcomer
Posts: 4
Re: cb_share_config can not import the syntax highlighting config
«
Reply #4 on:
September 17, 2019, 05:37:48 pm »
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
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: cb_share_config can not import the syntax highlighting config
«
Reply #5 on:
September 17, 2019, 07:10:37 pm »
This won't solve it.
Logged
(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
Single posting newcomer
Posts: 4
Re: cb_share_config can not import the syntax highlighting config
«
Reply #6 on:
September 18, 2019, 04:15:55 am »
It did solve it though. Something must of gotten messed up in the install
Logged
oBFusCATed
Developer
Lives here!
Posts: 13413
Re: cb_share_config can not import the syntax highlighting config
«
Reply #7 on:
September 18, 2019, 07:40:01 am »
Logged
(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
Developer
Lives here!
Posts: 3353
Re: cb_share_config can not import the syntax highlighting config
«
Reply #8 on:
September 18, 2019, 10:01:17 am »
If you encounter similar problems a second time, can you please post the two xml files you are using?
Thank you!
Logged
Send this topic
Print
Pages: [
1
]
Go Up
« previous
next »
Code::Blocks Forums
»
User forums
»
Help
»
cb_share_config can not import the syntax highlighting config