Repository navigation
Add ripgrep as find in files backend - #1086
Conversation
|
@Jocs Do you know why karma tries to load the |
| --buttonPrimaryBgColor: var(--themeColor); | ||
| --buttonPrimaryBorder: none; | ||
| --buttonPrimaryShadow: none; | ||
| --buttonPrimaryFontColorHover: var(--buttonPrimaryFontColor); |
There was a problem hiding this comment.
With so many CSS variables, can we not reduce it? Because the fewer variable names, the more convenient it is for users to customize the theme in the future. Too many variables can be confusing for users.
There was a problem hiding this comment.
I think it would be easier to write themes. E.g. the one-dark theme used a lot of overwrites that need to be updated each time we change a bit of GUI. With variables it's much easier to maintain a theme without breaking it after an update.
There was a problem hiding this comment.
I still think that too many variables are not good for maintenance, nor is it a best practice. If you want to reuse styles, we can define some common classes, such as btn, size-small, primary, error, etc. instead of defining so many variables. name.
How is this done? I didn't find the relevant code. |
I didn't see karma loading this file, where did I see it? Can you take a screenshot? |
I am working on this now, and will submit a PR to you ripgrep branch as soon as possible. |
I have not changed anything on Element UI but there are more wrong colors. If you mean the left down arrow background and color that's because it's disabled (2 is the minimum value) but this is the same as in v0.14.0.
I replace
This was an issue with the main karma file that included all |
My fault, it's the same. we can optimize it later. |
|
@fxha I added a GITHUB_TOKEN to Travis CI, Do you know why it still failed? |
|
Did you tested/build this branch on macOS? I actually don't know why macOS download fail but Linux not. According to Travis documentation macOS instances are hosted with another IP range, maybe this is blacklisted by GitHub? |
I'll try it later and tell you the result. |
|
I just restarted Linux build and got |
|
I think the issue it that the secret environment variables are only decoded when building from |
Good idea. |
I run |
|
@Jocs Yeah it's an issue with PRs and secret environment variables, my test branch and PR passed. Shall we merge this PR when ready or should I cherry pick the commits onto |
I'll review it today. then we can ignore the CI failure and merge this PR. |
| --buttonPrimaryBgColor: var(--themeColor); | ||
| --buttonPrimaryBorder: none; | ||
| --buttonPrimaryShadow: none; | ||
| --buttonPrimaryFontColorHover: var(--buttonPrimaryFontColor); |
There was a problem hiding this comment.
I still think that too many variables are not good for maintenance, nor is it a best practice. If you want to reuse styles, we can define some common classes, such as btn, size-small, primary, error, etc. instead of defining so many variables. name.
The main problem here is that we have to override all default themes (cadmium) values and this in all other themes. For sure we can c&p the basic buttons for each theme and set all other values to none. |
|
Do we need to research the keyword after the we modify the edit content and autoSave is true? |
This is definitely an improvement but for now I think this should be handled by muya - check for invalid selection range. |
I think they are two problem, yes, Another problem is, if we delete some content, or even delete all the content of current edit file, we modify the content on disk, the previous search results is not correct, so we need to do another search with previous keyword? |
|
@Jocs If you want to fix this you can remove and insert the new search result after a change for the changed file but not the whole root directory because this may be the home directory or another large folder. But I don't see a big problem with this because files on disk may change also. If muya can catch the invalid range issues etc everything should be ok, not like now that the editor may crash completely. |
|
Yes, I'll handle the invalid cursor position before the next release version. |
* Add ripgrep as find in files backend * Fix API limit on Appveyor * Fix css style * support search and jump (#1) * Style fixes
* Add ripgrep as find in files backend * Fix API limit on Appveyor * Fix css style * support search and jump (marktext#1) * Style fixes

Description
vscodesource code.Missing things:
Muya don't supports to set cursor at a specified line + offset.Open issue about muyas cursor range API.resolves #554
resolves #1034
resolves #1026