acode-plugin-python
acode-plugin-python copied to clipboard
CSS syntax highlighting
Check for existing issues
- [x] Completed
Describe the bug / provide steps to reproduce it
One of the css files (It seems to be a CSS file linked to a remote project (similar to a GitHub repository), let's call it css1) will be highlighted abnormally, but the syntax highlighting of the other css file will be displayed normally.
Figure 1 is the syntax highlighting of remote files under normal circumstances(i.e. css1),Figure 2 shows the syntax highlighting of the css1 file when the local css file is in the list.
Steps to reproduce: Have a CSS file in the GitHub repository in the list; create a new CSS file locally and save it after editing; restart the software and check the syntax highlighting of CSS1.
Environment
Device Information: WebView Info: Package Name: com.google.android.webview Version: 131.0.6778.104
App Info: Name: Acode Package Name: com.foxdebug.acode Version: 1.10.6 Version Code: 954
Device Info: Android Version: 12 Manufacturer: samsung Model: SM-N976N Platform: Android Cordova Version: 13.0.0
Screen Info: Width: 412 Height: 869 Color Depth: 24
Additional Info: Language: zh-TW User Agent: Mozilla/5.0 (Linux; Android 12; SM-N976N Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.104 Mobile Safari/537.36
If applicable, add mockups / screenshots regarding your vission
If applicable, attach your Acode.log file to this issue.
Acode.log
How did you open the GitHub CSS file? Are you using the GitHub plugin, or did you use another method?
How did you open the GitHub CSS file? Are you using the GitHub plugin, or did you use another method?
By using github plugin
This is not related to Acode, it's plugin specific
This is not related to Acode, it's plugin specific
I thought syntax highlighting was related to the app itself
This is not related to Acode, it's plugin specific
I tried creating two local css files to rule out the plugin, so I tried removing the remote file from the list and creating two css files locally, and one of them still had the weird syntax highlighting.
For now, it seems that the file with normal syntax highlighting is the last CSS file in the list. This file will be displayed by default when you restart the app.
So, I am going to make a new issue on acode.