zoukankan      html  css  js  c++  java
  • 重新安装liteide后无法关联.go文件的解决办法(及更改liteide配色方案)

    现象:双击.go文件,从打开方式中选择新安装的liteide.exe无效。

    解决办法:

    打开regedit

    找到HKCUSoftwareClassesgo_auto_file 发现下面有shell open command三个子目录

    其中command 下,默认值为"D:liteidexinliteide.exe" "%1"

    而新安装的exe是在d:liteide目录下面 ,修改为:"D:liteideinliteide.exe" "%1" 

    关闭regedit,双击.go文件,可以自动用liteide打开了。

     =====================

    顺便改一下liteide配色方案,参考:https://blog.csdn.net/tom06/article/details/76637742

    将以下代码保存xml文档,如:my.xml  ,放在liteideshareliteideliteeditorcolor目录下,

    打开IDE,“查看”菜单,选项,liteEditor,字体和颜色,编辑器颜色方案,选择刚才的my.xml

    <?xml version="1.0" encoding="UTF-8"?>
    
    <style-scheme version="1.0" name="Vim (dark)">
    
    <!--
    
    Based on the default vim theme for a dark background, Linux console colors.
    
    -->
    
    <style name="Text" foreground="#bbbbbb" background="#000000"/>
    
    <style name="Extra" foreground="#5a5a5a" background="#000000"/>
    
    <style name="Selection" background="#666666"/>
    
    <style name="CurrentLine" background="#212121"/>
    
    <style name="IndentLine" foreground="#000000"/>
    
    <style name="VisualWhitespace" foreground="#c0c0c0"/>
    
    <style name="Keyword" foreground="#CE9178"/>
    
    <style name="DataType" foreground="#55ff55" />
    
    <style name="Decimal" foreground="#800080"/>
    
    <style name="BaseN" foreground="#ff55ff"/>
    
    <style name="Float" foreground="#ff55ff"/>
    
    <style name="Char" foreground="#ff0055"/>
    
    <style name="String" foreground="#55ff55"/>
    
    <style name="Comment" foreground="#729fcf"/>
    
    <style name="Alert" foreground="#ff0000"/>
    
    <style name="Error" foreground="#ff0000"/>
    
    <style name="Function" foreground="#ffffcc"/>
    
    <style name="RegionMarker" foreground="#bbbbbb"/>
    
    <style name="Symbol" foreground="#bbbbbb"/>
    
    <style name="BuiltinFunc" foreground="#CE9178"/>
    
    <style name="Predeclared" foreground="#CE9178"/>
    
    <style name="FuncDecl" foreground="#bbbbbb"/>
    
    <style name="Placeholder" foreground="#55ff55"/>
    
    <style name="ToDo" foreground="#5555ff" bold="true"/>
    
    </style-scheme>
  • 相关阅读:
    14 Longest Common Prefix
    11. Container With Most Water
    9. Palindrome Number
    8. String to Integer (atoi)
    7. Reverse Integer
    5. Longest Palindromic Substring
    4. Median of Two Sorted Arrays
    tableViewCell中添加webView,cell自适应webView高度,解决死循环的简单办法
    ASIHTTPRequest实现断点下载
    如何在iOS中使用Block
  • 原文地址:https://www.cnblogs.com/pu369/p/10346716.html
Copyright © 2011-2022 走看看