首页 文章 精选 留言 我的

精选列表

搜索[环境],共10000篇文章
优秀的个人博客,低调大师

打造超级舒适的Go开发环境之VIM配置

最近博主已经从VIM迁移到了EMACS作为主要生产工具,目的是为了学习Lisp和体验EMACS操作系统之美,哈哈,不要被我弄的技术焦虑,没错,我就是换了个吃饭的盘子。写下这篇博客也是为了纪念我顺利的“从VIM毕业了”。 在阅读本文之前,你需要: 准备一个UNIX like的操作系统 一个可以跨过山和大海的代-理 话不多说,开始吧~ (1)下载必要的Go工具链 go get -v github.com/mdempsky/gocode go get -v github.com/ramya-rao-a/go-outline go get -v github.com/acroca/go-symbols go get -v github.com/uudashr/gopkgs go get -v golang.org/x/tools/cmd/guru go get -v golang.org/x/tools/cmd/gorename go get -v github.com/sqs/goreturns go get -v github.com/rogpeppe/godef go get -v golang.org/x/tools/cmd/godoc go get -v golang.org/x/lint/golint go get -v github.com/derekparker/delve/tree/master/cmd/dlv go get -v github.com/fatih/gomodifytags go get -v github.com/haya14busa/goplay go get -v github.com/josharian/impl go get -v github.com/tylerb/gotype-live go get -v github.com/cweill/gotests go get -v github.com/sourcegraph/go-langserver go get -v github.com/davidrjenni/reftools/tree/master/cmd/fillstruct (2)安装VIM macOS用户可能需要安装一下macvim: brew install macvim (3)主题配置 为了实现类似于Atom的Onedark和Onelight模式,我们可能需要安装两个主题: onedark.vim(只支持黑暗模式):https://github.com/joshdick/onedark.vim.git one.vim(同时支持):https://github.com/rakr/vim-one.git 在.vim目录下创建三个目录:autoload,bundle,colors,将两个仓库克隆到本地,然后将autoload目录的one.vim或者onedark.vim拷贝到autoload目录,将colors目录的one.vim或者onedark.vim拷贝到colors目录。 配置主题,修改~/.vimrc文件: colorscheme one set background=dark 当你想要将主题更改为Onelight的时候,只要将dark替换为light即可。 (4)插件配置 首先要安装插件管理器Vundle: git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim 然后配置~/.vimrc文件: set nocompatible " be iMproved, required filetype off " required " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' " The following are examples of different formats supported. " Keep Plugin commands between vundle#begin/end. " plugin on GitHub repo Plugin 'tpope/vim-fugitive' " plugin from http://vim-scripts.org/vim/scripts.html " Plugin 'L9' " Git plugin not hosted on GitHub Plugin 'git://git.wincent.com/command-t.git' " git repos on your local machine (i.e. when working on your own plugin) Plugin 'file:///home/gmarik/path/to/plugin' " The sparkup vim script is in a subdirectory of this repo called vim. " Pass the path to set the runtimepath properly. Plugin 'rstacruz/sparkup', {'rtp': 'vim/'} " Install L9 and avoid a Naming conflict if you've already installed a " different version somewhere else. " Plugin 'ascenator/L9', {'name': 'newL9'} " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line 为了支持多种编程语言,我们采用YouCompleteMe插件,macOS用户使用如下命令: brew install cmake python python3 mono go nodejs 如果你已经使用nvm作为Node.js版本管理器,或者已经通过PKG方式安装了Python3.x版本,那么只需要PATH可以识别到命令,另外nvm用户需要安装npm: brew install npm 接下来需要进行编译: cd ~/.vim/bundle/YouCompleteMe python3 install.py --all 由于YouCompleteMe插件使用Vundle安装可能导致失败,因此通过手动安装的方式实现,其他插件均可以通过Vundle安装: Plugin 'fatih/vim-go' Plugin 'Tagbar' Plugin 'scrooloose/nerdtree' Plugin 'Xuyuanp/nerdtree-git-plugin' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' 写到.vimrc文件中,然后打开vim,进入命令模式,使用如下命令安装: :PluginInstall vim-go插件需要下载一些工具包,如果使用Vundle安装失败,可以进入vim使用如下命令: :GoInstallBinaries 配置完成后的整个.vimrc文件如下: set nocompatible " be iMproved, required filetype off " required syntax on colorscheme one let g:one_allow_italics = 1 set background=dark set nu let NERDTreeWinSize=50 let NERDTreeShowLineNumbers=1 let NERDTreeAutoCenter=1 let NERDTreeShowHidden=1 let g:go_gopls_enabled = 0 set laststatus=2 "始终显示状态栏 set tabstop=2 "一个制表符的长度 set softtabstop=2 "一个制表符的长度(可以大于tabstop) set shiftwidth=2 "一个缩进的长度 set expandtab "使用空格替代制表符 set smarttab "智能制表符 set autoindent "自动缩进 set smartindent "只能缩进 set ruler "显示位置指示器 set ignorecase "检索时忽略大小写 set hls "检索时高亮显示匹配项 set helplang=cn "帮助系统设置为中文 set foldmethod=syntax "代码折叠 set guifont=PowerlineSymbols\ for\ Powerline set nocompatible set t_Co=256 let g:Powerline_symbols = 'fancy' " let g:nerdtree_tabs_open_on_console_startup=1 "Use 24-bit (true-color) mode in Vim/Neovim when outside tmux. "If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support "(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.) if (empty($TMUX)) if (has("nvim")) "For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 > let $NVIM_TUI_ENABLE_TRUE_COLOR=1 endif "For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 > "Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd > " < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 > if (has("termguicolors")) set termguicolors endif endif " set the runtime path to include Vundle and initialize set rtp+=~/.vim/bundle/Vundle.vim call vundle#begin() " alternatively, pass a path where Vundle should install plugins "call vundle#begin('~/some/path/here') " let Vundle manage Vundle, required Plugin 'VundleVim/Vundle.vim' Plugin 'fatih/vim-go' Plugin 'Valloric/YouCompleteMe',{'do':'python3 install.py --all'} Plugin 'Tagbar' Plugin 'scrooloose/nerdtree' Plugin 'Xuyuanp/nerdtree-git-plugin' Plugin 'vim-airline/vim-airline' Plugin 'vim-airline/vim-airline-themes' " All of your Plugins must be added before the following line call vundle#end() " required filetype plugin indent on " required " To ignore plugin indent changes, instead use: "filetype plugin on " " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate " :PluginSearch foo - searches for foo; append `!` to refresh local cache " :PluginClean - confirms removal of unused plugins; append `!` to auto-approve removal " " see :h vundle for more details or wiki for FAQ " Put your non-Plugin stuff after this line let g:go_highlight_types = 1 let g:go_highlight_fields = 1 let g:go_highlight_functions = 1 let g:go_highlight_function_calls = 1 let g:go_highlight_operators = 1 let g:go_highlight_extra_types = 1

优秀的个人博客,低调大师

DataGrip 2020.1 正式发布,多引擎数据库环境

DataGrip 2020.1 正式发布了,更新内容包括: 运行配置 运行脚本文件的配置 运行代码的配置 支持 utPLSQL 和 tSQLt Data editor 编辑器中的结果 地理检视器 [MongoDB] 数据过滤 导出选项 导出到 Excel 更好的可用性 文字资料检视器 连接性 [PostgreSQL] pg_pass 支持 [SQL Server] 域凭据支持 共享的 SSH 配置 查询控制台 更新预览 轻松导航到执行设置 日期时间注入 [MongoDB] 更好的编码帮助 导航和搜索 上下文数据源范围 结构搜索 文件处理 CSV 档案类型 附加目录 标记为纯文本​​​​​​​ 数据库树视图 用于创建用户和角色的用户界面 用于创建架构和数据库的 UI 更新说明:https://blog.jetbrains.com/datagrip/2020/04/06/datagrip-2020-1/

优秀的个人博客,低调大师

Spring Tools 4.4.1 发布,针对 Spring 应用的开发环境

Spring Tools 4.4.1 发布了。Spring Tools 4 是下一代 Spring 工具,提供了从头开始构建所需的所有功能,为开发基于 Spring 的企业应用提供世界级支持,支持 Eclipse、Visual Studio Code 与Theia。 此版本主要更新亮点包括: (Spring Boot)引入了全新的机制来连接和断开运行中的 Spring 应用程序以显示实时数据 (Spring Boot),(Eclipse)增强功能:Goto Symbol 现在也可以在 XML bean 文件中使用 (Spring Boot),(Eclipse)修复:application.properties 中的完成有时会留下一些“垃圾”文本 (Spring Boot):提升xml 符号扫描的性能 (Spring Boot):将 lsp4xml 更新为 0.9.1 以解决(CVE-2019-18212) + (CVE-2019-18213) (Concourse)增强功能:添加了对注册表图像资源类型的支持 更新公告:https://spring.io/blog/2019/10/24/spring-tools-4-4-1-released 下载地址:https://spring.io/tools/

优秀的个人博客,低调大师

Spring Tools 4.3.2 发布,针对 Spring 应用的开发环境

Spring Tools 4.3.2 版本发布了。Spring Tools 4 是为你量身打造的下一代 Spring 工具,无论你喜欢 Eclipse、Visual Studio Code 还是 Atom IDE ,它都可以提供从头开始构建所需的所有功能,为开发基于 Spring 的企业应用提供世界级支持。 新版值得关注的更新内容有: (Spring Boot)fixed:CTRL 单击导航不能正确处理超类上的属性 (#326) (Spring Boot)fixed:配置属性分析不能正确处理以 snake_case 编写的属性 (#327) (Eclipse)fixed:语言服务器进程在特定情况下未正确终止,导致许多语言服务器进程在 Eclipse 打开时继续运行 (Eclipse)fixed:由于使用约束违规,无法解析 Eclipse Language Server (#325) (Eclipse)fixed:由 xmlnamespace 支持导致的 UI 冻结? (#318) (Eclipse)fixed:缺少 javax.inject 导入导致启动仪表板中的 CF 集成失败 一些其他的错误修复 更新公告:https://spring.io/blog/2019/08/14/spring-tools-4-3-2-released

优秀的个人博客,低调大师

Marketing Cloud demo环境和API使用方法说明

version 1.0作者:Wang Jerry更多问题请联系我 demo 系统url:https:/jerry.hybris.com/sap/bc/ui5_ui5/ui2/ushell/shells/abap/FioriLaunchpad.html 用户名/密码:Jerry1/Diablo1登录成功之后,可以在菜单"快速启动"->"Manage Contacts"里找到Marketing Cloud contact管理应用。单击: 这里就能看到该系统里所有的contact列表了。左边的1218377是系统contact总个数,正下方Create就是新建按钮,可以通过这个按钮打开contact创建页面。右边的search bar就是一个Google风格的模糊搜索入口。 这个界面第一次使用的话需要注意一些小技巧。 上图高亮的四个控件实际

资源下载

更多资源
腾讯云软件源

腾讯云软件源

为解决软件依赖安装时官方源访问速度慢的问题,腾讯云为一些软件搭建了缓存服务。您可以通过使用腾讯云软件源站来提升依赖包的安装速度。为了方便用户自由搭建服务架构,目前腾讯云软件源站支持公网访问和内网访问。

Rocky Linux

Rocky Linux

Rocky Linux(中文名:洛基)是由Gregory Kurtzer于2020年12月发起的企业级Linux发行版,作为CentOS稳定版停止维护后与RHEL(Red Hat Enterprise Linux)完全兼容的开源替代方案,由社区拥有并管理,支持x86_64、aarch64等架构。其通过重新编译RHEL源代码提供长期稳定性,采用模块化包装和SELinux安全架构,默认包含GNOME桌面环境及XFS文件系统,支持十年生命周期更新。

Sublime Text

Sublime Text

Sublime Text具有漂亮的用户界面和强大的功能,例如代码缩略图,Python的插件,代码段等。还可自定义键绑定,菜单和工具栏。Sublime Text 的主要功能包括:拼写检查,书签,完整的 Python API , Goto 功能,即时项目切换,多选择,多窗口等等。Sublime Text 是一个跨平台的编辑器,同时支持Windows、Linux、Mac OS X等操作系统。

WebStorm

WebStorm

WebStorm 是jetbrains公司旗下一款JavaScript 开发工具。目前已经被广大中国JS开发者誉为“Web前端开发神器”、“最强大的HTML5编辑器”、“最智能的JavaScript IDE”等。与IntelliJ IDEA同源,继承了IntelliJ IDEA强大的JS部分的功能。

用户登录
用户注册