Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I'm looking for an easy-to-use, free source code comparison app for Windows, which will highlight differences side-by-side between two pieces of source code. Some apps get close to what I want, but are too restrictive by requiring you load in entire files and compare them in their entirety. Sometimes I just want to compare a section of my file, such as a single function, which may be in totally different locations in the two versions I'd be comparing, making it hard to find in both panes in large files. Basically, I'd like to be able to simply edit/copy/paste the content in both panes rather than have the restriction of using files. That way I can copy and paste one function into one pane and another into the other, editing/re-ordering as necessary.
(Note that I realize there are other comparison app recommendation threads out there, but I'm having a hard time finding a free app that isn't a strict file-to-file comparison app)
Thanks for any pointers or links, thanks!
I do this in Vim all the time. Here's what I do:
Run gvimdiff -O a b. This is Vim is GUI diff mode.
Paste "before" into left pane of Vim.
Paste "after" into right pane of Vim.
:diffupdate (not always necessary)
You can also edit either side of the diff, which can be handy.
I imagine that any text editor that supports side-by-side diff and copy and paste should be able to do something similar.
And before you object that Vim is file-based (which is true), the above procedure doesn't require creating any actual files in the file-system.
Notepad++ has a nice diff function that will suit your needs also.
Winmerge can be used to do what you outlined (i.e., edit/copy/paste snippets into two windows and then make comparisons or mergers).
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to move some changes from database a to database b, and some from b to a. Every comparison tool I've used requires you to pick a direction first and if you want to go the other direction, well then you get to wait for it to completely re-compare all over again.
Also the tools I've used don't allow you to make changes on the fly. If I see something I need to update, I've got to go update it using SSMS and then come back to the tool and re-compare all over again.
What I really want is a tool that works just like a text diffing application (BeyondCompare, WinMerge, etc.).
I've thought about trying to write my own app to do this so many times but it's a big undertaking so I always say "nah, it's not worth it". Well I've finally decided to give it a shot but I just want a final word on 2 issues:
1) Have I overlooked some amazing product that already does this? I've searched but haven't found anything. Would hate to waste a lot of time if someone has already done it though.
2) What Diffing api would be best suited for this type of application?
The best tool for doing this action is from redgate called sql compare.
http://www.red-gate.com/products/sql-development/sql-compare
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I have a PDF with the following text:
Localização
When I copy this text and paste, it gives me:
localizac¸ ˜ao
Any help is appreciate
Tks
For computer generated documents (not OCRd/scanned)
Some systems like LaTeX generates composed characters because the system's font doesn't contain (or support) such glyph in the current encoding. As consequence. They are generated on the fly using Composed Glyphs.
Making two glyphs look like one:
A + ´ -> Á
Because of this 'trick', the selectable PDF Text Information contains the two separated glyphs. But graphically they are both rendered at the same spot.
The quick solution:
Luckily, the generated character pairs do not happen naturally in a well written paragraph (maybe in any language). So is quite safe just search/replace them using a case-sensitive method. You can do it manually with your favorite text editor, or using a python script, etc. Automated or not, the principle of the solution is the same.
It is important to know how you are copying the text. If you are merely using a text editor and altering the underlying PDF code, you are going to have problems. PDF files are organized in a very complicated and non-human-readable way that require specialized programs to alter successfully. If you want to make this change, you will need to use a PDF editor to either edit the document, or generate a new document from scratch.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 11 months ago.
Improve this question
The main feature of Sublime Text 2 that makes it my editor of choice for programming (and anything else really) is multi-selection search and edit. It's like search-and-replace-on-steroids. Once you get used to, it's really hard to go back to not using it.
I did some research myself and couldn't find a single other editor that offers it as powerfully. Some even let you create several cursors but lack the searching bit (just found out that Notepad++ does that).
So I'd like to ask for this community's help: do you know of another programming editor that provide multi-selection search and editing in a similar level as Sublime does?
Cloud9 IDE does this.
Disclaimer: I work there.
vim seems to have support for that via plugins. See a related question on SO: Multiple selections in VIM
More recently jetBrains began adding "Sublime Text style multi selection" to their line of IDEs. I know IntelliJ and Pycharm already have it.
gedit 3 has a plugin which looks similar: http://codetree.com.au/projects/imitation/
After switching from Sublime Text 2 to gedit, I've written a plugin that's much closer to Sublime's version of multiple cursors than imitation. I've tested the plugin on versions 3.4 and 3.12. You can find it here:
https://github.com/jessecrossen/Gedit-MultiCursor
I don't think it's 100% perfect yet, so I'd be really glad to hear of any edge cases people run across so I can continue to improve it. I've also implemented something like gedit's Command-R functionality with this plugin.
Those were pretty much the only two features I missed from Sublime, but then again I don't tend to use the deep features of any editor, so as to preserve my independence ;). The quick-open functionality is not as good as Sublime's "Goto Anything", but on the other hand you get usable integration with remote file systems mounted on FUSE, gvfs or similar, whereas Sublime tends to be slow because it's recursively indexing every file.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I use a lot of illustrations, diagrams and equations to document C++ and python codes, and a way to do this is to inline them with doxygen. The problem is that, when coding, they are not directly available in the code (unless I use ascii-art for this purpose).
Is there an automatic, quick and fast way to, while coding, view the generated documentation? E.g., I could have a separate Eclipse tab with the rendered documented code (HTML), while coding in another tab... and the documentation rendering tab would be updating automatically as I change the code and the documentation.
Is this possible? Is there a tool, plug-in for Eclipse or add-on for Visual Studio enabling this?
Frankly, I use a second monitor (or second computer) to view such documentation just to keep them out of the way - I want to see them alongside my Visual Studio screen not taking up space that could be occupied by code.
I publish the generated Doxygen documentation to an internal web server so if you have an HTML viewer plugin you could just point it to that. (I usually have a browser open alongside).
You could setup your Doxygen project to be generating directly into the web server directory so there's no copying time to get it renewed.
One tip, if you have a large code base and Doxygen takes an annoyingly long time is to have a special setup file just pointing at the code you're working on, to quickly regenerate the relevant couple of pages. You could have a python script observing the directory and re-running Doxygen if files change.
Try my LP tool - http://code.google.com/p/nano-lp - it supports OpenOffice/LibreOffice, so you can write LP programs in WYSIWYG manner. By the way, if you decide to use markup language instead of OpenOffice, NanoLP supports several of them.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I have looked at some autofills for Firefox. But they are not designed with the developers' needs in mind. General internet surfers will need a tool to fill in many different forms with constant values for each form. Developers need exactly the opposite, when you want to test a part of your app you'll need to fill a single (or a couple of) forms many times with different (but valid and sensible) data.
So, does such a thing exist? An autofill to fill form inputs based on perhaps a class name (email, password, address, url, ...)?
I strongly feel if it doesn't exist someone should roll up their sleeves and make one! I for one will put in my share if some others want to team up. But right now, I am desperately in need of one if it exists
Pretty nice extension for chrome Web Developer Form Filler especially for web-developers.
You can save as many sets of data as you want, assign a hotkey and fill a form just by pressing it.
https://chrome.google.com/webstore/detail/web-developer-form-filler/gbagmkohmhcjgbepncmehejaljoclpil
Why not just go with a bookmarklet like https://github.com/dsheiko/autofill
it's a dead simple script that serves me fine for years
One way is to use Greasemonkey.
Example script:
"Auto Fill any forms with custom information":
http://userscripts.org/scripts/show/39313
EDIT: Link may be broken but I'm sure you are capable of finding many Greasemonkey references.
Please check out my extension, Form Filler, which allows you to do exactly what you need: fill out your forms with random dummy data.
https://chrome.google.com/webstore/detail/form-filler/bnjjngeaknajbdcgpfkgnonkmififhfo
I think you will love IRobotSoft web automation software. See a similar question here:
http://irobotsoft.org/bb/YaBB.pl?num=1254517661
This is an auto form filler you are looking for. But this is a chrome plugin. This takes care of the developers need to fill valid data automatically by reading the properties. It also saves value against the form element if you make changes to it. Hence a must try for developers. Here is the link