craigemery / dotfiles Goto Github PK
View Code? Open in Web Editor NEWThe .rc files I use in my day-to-day shell work (mostly bash)
The .rc files I use in my day-to-day shell work (mostly bash)
Hi,
I'd like to integrate PC-Lint with VIM to be able to navigate to the warnings locations in the code easily.
Could someone please explain how to use the "pc-lint.vim" file found in vim/compiler?
Thanks
on save of editing a scp:// file i'm getting
Error detected while processing function AutoTag:
line 9:
WARNING:root:Traceback (most recent call last):
File "", line 5, in
File "", line 209, in rebuildTagFiles
File "", line 205, in updateTagsFile
File "", line 45, in do_cmd
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 672, in init
errread, errwrite)
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1202, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory: ''
great!
When I save JS files, I often get ctags: Warning: ignoring null tag in ...
warnings on the bottom.
This sometimes breaks the VIM window to the point where I have to restart VIM.
It would be nice to at least have an option that silences ctags warnings.
Craig,
Please consider creating a separate repository for autotag.vim, like
https://github.com/tpope/vim-fugitive
This would allow including autotag as a a bundle easier.
Thanks
I have installed the latest version of the autotag-vim plugin. The tags compiled statically works in my project. When ever I make changes to a file and save the tags
file is not updated.
I have file called home_controller.rb as shown below
class HomeController < ApplicationController
def index
foo # CTRL+] jumps to implementation
end
private
def foo
end
end
If I modify the file to add new function and save the tag navigation doesn't work for the new function.
class HomeController < ApplicationController
def index
foo
bar # CTRL+] does not jump to implementation after save
end
private
def foo
end
def bar
end
end
I enabled the debug buffer by calling :call AutoTagDebug()
and I noticed that tagging was happening as expected. But the tags
file is not getting updated.
source = "C:\Users\user1\My Projects\test1\app\controllers\home_controller.rb"
drive = "C:", file = "\Users\user1\My Projects\test1\app\controllers"
tagsFile "C:\Users\user1\My Projects\test1\app\controllers\tags"
drive = "C:", file = "\Users\user1\My Projects\test1\app"
tagsFile "C:\Users\user1\My Projects\test1\app\tags"
drive = "C:", file = "\Users\user1\My Projects\test1"
tagsFile "C:\Users\user1\My Projects\test1\tags"
Stripping tags for test1/app/controllers/home_controller.rb from tags file C:\Users\user1\My Projects\test1\tags
In git-version from June 09, 2012 (commit 3acb012) there is a bug with relativeSource path on line 181. Error on loading script.
line 229:
File "<string>", line 162
relativeSource = os.path.splitdrive(source)[1]source[len(tagsDir):]
^
SyntaxError: invalid syntax
Press ENTER or type command to continue
Here is fix:
181c181,182
< relativeSource = os.path.splitdrive(source)[1]source[len(tagsDir):]
---
> source = os.path.splitdrive(source)[1]
> relativeSource = source[len(tagsDir):]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.