Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support importing/copying VS color theme to Codist #114

Open
laicasaane opened this issue Nov 26, 2019 · 10 comments
Open

Support importing/copying VS color theme to Codist #114

laicasaane opened this issue Nov 26, 2019 · 10 comments
Labels
Milestone

Comments

@laicasaane
Copy link

I mainly use the default syntax highlighting function of VS, but I also want to use Codist's function sometimes. However it is very troublesome to re-config Codist theme to follow VS theme. If there is a way to import VS theme into Codist, it would be great!

@wmjordan
Copy link
Owner

wmjordan commented Nov 27, 2019

It is interesting and possible to do so.
However, I encountered a problem on getting colors in synchronization with the theme. (See #14)
Once I figure that out, it is possible to implement this.

The latest beta has utilizes existing VS syntax highlight settings. You can press the "Reset" button in the Syntax Highlight configuration page of Codist, and it will restore the syntax highlight settings from VS (there is a bug, if things don't go well, restart VS). Afterward, you can tweak syntax highlight styles from there.

@wmjordan wmjordan added this to the Backlog milestone Nov 27, 2019
@laicasaane
Copy link
Author

Yes I've experienced a "not responding" bug when use Reset.

@wmjordan
Copy link
Owner

That sucks. Could you try that again?

@laicasaane
Copy link
Author

When I restart VS after experiencing that bug, I see Codist has copied VS theme already.

@wmjordan
Copy link
Owner

wmjordan commented Dec 6, 2019

The freezing after your pressing the "Reset" button may have something to do with #42.
Could you reproduce the problem and observe whether the CPU usage is high when this issue reoccurs?

I am planning to rewrite the syntax highlight configuration pages. Hopefully those issues could be solved after that.

@laicasaane
Copy link
Author

With the latest beta 5123, the issue didn't occur anymore. However, there is just one minor issue: Codist extensions method color isn't copied from "User Members - Extensions Methods", but from "User Members - Methods".

@wmjordan
Copy link
Owner

wmjordan commented Dec 7, 2019

I tried to fix that. But it was unexpectedly complicated :( if I were to keep Codist compatible with VS 2017.

@wmjordan
Copy link
Owner

The Codist 8 (#334) supports exporting styles built in VS theme now.
Press "Shift" key before exporting your current syntax highlight themes in the Codist Syntax Highlight Customization window.

@laicasaane
Copy link
Author

@wmjordan Pressing "Shift" seems to be an elusive UX behaviour even with a tooltip.

@wmjordan
Copy link
Owner

wmjordan commented Oct 8, 2024

I think there are not so many people need exporting all styles. Neither do I want to do that, actually.

If many people request this, I will turn it to a separated button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants