Open and edit HUGE file - search

What is a good editor to view and edit huge files (~4 gb) quickly? Customizable syntax highlighting and a search feature are preffered, but not required.

I've had decent success with vim.

TextPad - http://www.textpad.com/

Liquid Studio Community Edition contains a Large File Editor which can open and edit Terra-byte files on low spec machines, and its free.

Related

Increase recent clipboard pastes in Resharper?

i'm using Resharper 8.2.
Looking at ctrl+shift+v :
There are only 19 entries for history pastes.
Question:
Is there any file edit / setting edit that will allow me to increase the number of history entries ?
Nope, sorry. It's a hard coded limit. If you have that many entries, you might want to store them as some kind of snippet, either by dragging the text snippet to Visual Studio's Toolbox window, or by creating a ReSharper Live Template in the Templates Explorer.

How do I expand all strings in a .resx resource file in Visual Studio 2012?

VS2012's resource designer doesn't seem to have a way to "expand" long strings of text/html.
I have to double-click each and every one line to expand it.
Knowing I have about 10,000 of these to do for this localization project, I'm going to go mad if I can't find a way to go from this:
http://i.imgur.com/TiKv5.jpg
...to this: http://i.imgur.com/p41bn.jpg
If there isn't, please suggest some alternate tool, app, or method that will help me keep my sanity.
Try the Visual Studio Power Productivity Tools for some help there. I know they really enhanced it for opening and collapsing the solution folders so it might help you.
At our company we wrote a small utility to extract these resources from Visual Studio to package in the excel format that our translation company uses. It didn't take much to do that in .NET and it will certainly make your life easier in the long run.
Turns out Microsoft also has a Resource Refactoring Tool that looks like it makes it easy to pull resources out of the code and resx files into other formats. I have not tried this personally (where I have used the Productivity Tools) but it is worth looking into this option.

Grails gdoc editor support (esp IntelliJ)

Since Grails 1.2 there's a documentation engine included: gdoc. The documentation's syntax is based on the Textile format.
Is there some editor support for this? My first choice would be a plugin for IntelliJ, second option on for vim or gedit. Any hints welcome. I am totally a aware that the format is very simple by itself but having code coloring and content assist would be really nice.
I'm not sure about Intellij, since many of us work on Macs we tend to use TextMate which has an excellent Textile plugin with completion, preview etc.
I know this is almost 3 years old, but just in case... I found that the Mylyn Wikitext plugin was useful for this in Eclipse. Just had to add the .gdoc file extension to it in under the properties.

Faster search for files in Netbeans

Is there an existing plugin or tweak that speeds up the "Go To File" search in Netbeans ? Compared to Eclipse, Netbeans search is way too slow specially if one has multiple large size projects.
I know I can use CTRL+O for "Go To Type" but often I need to search for other file types like XMLs, property files etc. across thousands of files in multiple projects.
I installed the Quick Search plugin but even that doesn't search for non Java file types.
You can focus on the Project Tree and simply type the file name which you want to looking for. Press Up/Down to select if more than one file match your search.
Or use keyboard shortcut to open the search file form:
Windows/Linux:
Alt+Shift+O
Mac OS:
Control+Shift+O
The best way to search and open file in netbeans -
Press CTRL+O and type file name you are looking for, it will search in current projects and list matching files
why not right click on the project and click 'find'?
I can only recommend using the Open File Fast plugin
http://plugins.netbeans.org/plugin/16495/open-file-fast
How to quickly find a file/files in netbeans. Maybe for someone it will be helpful.
In Netbeans projects files view select some directory where you want to look for the file.
Click ctrl+f to show the finder dialog
Pass your file name into 'file name patterns' input
In options set only 'Regular expression'
The 'Containing text' input has to be empty
For Mac users
control+shift+O
http://plugins.netbeans.org/plugin/16495/open-file-fast
Find file fast will your solution for find file faster just like sublime..
using the shortcut alt+shift+o
hope it will help
You can install the recent file list plugin
This plugin is not as powerful as the intellij but to simulate the same behavior (open the recent files with ctrl+E):
After install the plugin assign the Ctrl+E shortcut to the "Recent Files" action: Tools->Options->Keymap->Search "Recent Files" and assign Ctrl+E shortcut
If all you need is to search by file name/pattern, then I suggest plugin "Quick File Search" http://plugins.netbeans.org/plugin/70267
Press Ctrl + Shift + H.
On the screen appear option scope. Click on this text-box and choose the project you want to find needed text snippets, or you can find all of the projects. I am using Netbeans 8.1 Best regard !

Vim as Visual Studio IDE

I have spent lot of time doing research on VIM. I am Windows guy since last 6 yrs and was using VS.
Now started working on Linux. I want to make VIM as close as possible to VS.
I want features like
Project Navigation
Files in Different Tabs
Search in Project
AutoCompletion
I have found plugins for the above requirements
Project Pligin
MiniExplore
Taglist
OmniComplete
I am not able to correctly set vimrc script.
When I try to open file from Project it gets open in different tabs.I want to get it open in different buffers.
Also when I want to close file in buffer , complete window gets closed.
Open taglist and project window makes all mess.
Has any one done settings with these plugin..
Could you guys please post your vimrc files??
It will save lot of time for newbies like me..
Vim is a very different tool than Visual Studio. Plugins may help you get certain bits of functionality you desire, but do not expect them to work exactly like VS, work well together, or even work at all.
If you are looking for a programming environment more like Visual Studio, there are many good graphical IDE's you can use such as NetBeans, Eclipse, Code::Blocks, KDevelop, Anjuta, etc. Some of these tools are, IMHO, better heavyweight IDE's than Visual Studio, and all are available on Linux for free.
You should either learn to use Vim the way it was built to be used, or find a different tool that suits you better. Shoehorning Vim into a surrogate for Visual Studio will probably cause you more pain than it's worth.
Yes it's different to VS, but that doesn't mean it can't be used in the same way. It's just not as easy to do it :)
Personally I go the other way and use ViEmu to get VS to behave like VIM. But I'm not in the same situation as the author of this question.
Why not have a dig through some uploaded vimrc files on dotfiles.org?
You can use the following script, Trinity.
http://www.vim.org/scripts/script.php?script_id=2347
It will require 3 more scripts, and Vim will look like an IDE.
The TagList at left, a file exporer (NERDTree) at right, and Source Explorer at bottom.
Also, you can find some very useful blog entries at
http://kevin-berridge.blogspot.com/search/label/vim
The author, Kevin, explains how to compile solutions form inside Vim. He also shows interfacing and jumping between them which is very useful too.
Furhermore, there is the script vim-visual-studio which can be found at
http://code.google.com/p/vim-visual-studio/
This script is using Python extension. I have Python 2.5 installed in Windows. I am using Gvim 7.2 which is compiled with Python 2.4. So, I have replaced the executables of Gvim as explained here:
http://www.gooli.org/blog/gvim-72-with-python-2526-support-windows-binaries/
So, Gvim became compatible with Python 2.5 and raised no problems. Also, a menu entry "Visual Studio" has appeared as expected. It connects to Visual Studio itself, and it works perfectly. It does not just compiles a file, it can compile a solution containing more than one project as in Visual Studio. You can even use the Vim's 'quickfix' feature. Hope this helps.
If you really want to have vim as the front end, try Eclim. It uses Eclipse as a backend daemon for code completion and project management, and vim as the interface.
If you only like vim because of the vi key bindings, but want it to be more IDE like, you could try the latest MonoDevelop that has it built in.
These plugins used to exist long before vim had tabs. I'd be quite surprised there isn't a way to tune these plugins to split windows instead of opening tabs.
Now I can't help you much as I don't use these specific plugins but other ones. You should look at their help (:h project, :h taglist, etc)
PS: in vim terminology (it will help you browse the help files), what you call "buffer" is actually called "window", while a "buffer" is just the text you are working on, it may be associated to a file, or not. For a given buffer, there may be no or several window displaying parts of the buffer.
you can give a try to eXvim
http://code.google.com/p/exvim/

Resources