Configure a luxury Windows development environment

Source: Internet
Author: User
Tags sourcetree

List some useful, free Windows development related tools

ConEmu + Clink

It is indispensable to do development and Cmd.exe in Windows. If you often go to Linux and Windows, then CMD is absolutely rotten to the wall. The good news, however, is that this tragic situation is completely over with the advent of CONEMU. With this, you'll have a super deluxe Cmd.exe:

    • Support ClearType fonts, True color theme of the cool interface

    • Window length width can be arbitrarily dragged, can be almost unlimited rollback history

    • Drag the mouse to select the text is no longer pull out a box, but as normal people think of the way to pull out a few lines to

    • So the Tab, so shortcut keys, so that the various settings

ConEmu comes with Clink, a project that tries to add bash to the common features and really do it on CMD. In this way, you get these features, except for the above:

    • Tab to complete the file in the current directory and the executable program on Path

    • Ctrl-v Paste to the command line without right-clicking the window title bar and then clicking Paste.

    • Ctrl-r Full History command

    • Automatic save History Command, the next boot can also retrieve the previous command line history

If you often use Putty words, basically ConEmu give a person's feeling is like using Putty to connect the local cmd. After a little configuration, you can get a command line like the following:

If you often work with cmd in your day-to-day job, try to put it on your own.

Gow

or command-line related, if you often miss the Linux under the LS, cat, tail these things do not want to install a few grams of Cygwin words, Gow is what you are struggling to find. It packs a few common Linux command-line tools that work well under Windows.

Worth mentioning the Gow comes with a single-file command-line version of Vim, which is ideal for writing commit message or doing simple editing operations.

Sourcetree

If you work with Git or HG for version control, sourcetree This graphical interface GIT/HG client can improve the efficiency of related operations. If you're just starting out with GIT/HG, this can help you get started quickly, and try this if you can do whatever you want with a variety of commands.

I often use git, the workflow is that most of the write operations are done on the command line, and various views of the operation, such as looking at the branch, look at the diff log is directly cut into the sourcetree inside see, save a lot of time to knock command. Sourcetree is not designed to hide the underlying command-line invocation, and your operations inside it are done in the form of a command line. At the same time you operate in the command line, cut to Sourcetree click F5 Refresh after the see. For example, I run in the command line git merge , prompting for a conflict. Cut to Sourcetree can see the conflicting files, click the menu can choose to use graphical tools to resolve, and then cut to the command line to do git merge --continue it, feel very smooth.

The extra, graphical interface makes many file path-related operations very simple. You can drag the file to complete the operation of the Stage/unstage/discard file without manually typing a long list of filenames. Sourcetree for Git also support mouse click to the stage of a small piece of code, this compared to your command line to see a half a day is absolutely convenient.

There are not many graphical clients under Windows that support GIT/HG, I use it to feel that this is a better way to go.

tdm-gcc

You should have heard of MinGW if you were developing a C + + related development, or had experience compiling C + + projects on Windows. It's probably meant to provide a set of WIN32-compatible POSIX environments on Windows that run the GCC compiler. TDM-GCC is a set of GCC that runs on Windows 32/64 based on MinGW, and can be used to compile C + + code into native Windows programs.

Compared to the other versions previously seen, TDM-GCC features a "new" one. Currently its accompanying version of GCC is 4.8.1, has been followed on the Debian testing version, and is a support c++11 version, another feature is "the slot can really use." MinGW overall state feeling is not too reliable. A lot of other Windows on the GCC to write some of their own small program is not a problem, the time to make other things less that all kinds of mistakes makes people extremely headache. And TDM-GCC feels that this is done well, and there are few strange mistakes. In addition, it supports compiling 32/64 of the program, the default static link standard library, compiled out of things to the other people can be used without the need to attach a bunch of DLLs feel very good.

If you want to try GCC on Windows, TDM-GCC should be the best option right now.

Everything

Users who have used OSX must know that the Spotlight in the upper right corner is very useful. Everything is basically the Spotlight on Windows. It takes about 10 minutes to index the hard drive after it is loaded, and then you can look up any file by file name globally and get the results instantly. For new files or rename operations, the Everything will also get the results immediately, with outrageous.

It also comes with a simple command-line interface that you can easily add to your automation scripts.

Mongoose

If you are doing WEB development, then there should often be a need to temporarily set up an HTTP server to serve some static files. Linux you can be soft-chained to your /var/www stuff, there seems to be no simple native method on Windows. See now Mongoose should be a good choice for the present. Down after the open, select the directory you want to serve and then open in the browser should be able to, and the mainstream HTTP server it will automatically handle MIME Type, used in the development process to put static files is absolutely enough.

For example, you want to send a file to your colleague, in addition to open QQ to preach outside with this is also a good choice.

Picpick/licecap

If you often open QQ words, then the needs of the basic has been satisfied. If you need more advanced features or not too open Qq,picpick is a good choice. On the one hand, it has a lot of common software functions, such as intercepting the current active window, automatic scrolling window to intercept long site pictures and so on. On the other hand, it also brings a lot of useful tools, such as full screen color picker, floating pixel ruler, and an image editor with enough functionality.

If you want to intercept a GIF, Licecap is probably the only free open source option available. The good news is that it works pretty well, and it's fun to use: you have to put it in the window like a shutter to the place you want to record and start recording, and a few seconds before you start.

Pandoc

Pandoc is a "universal document converter", but I'm basically using it to convert Markdown into PDF, .docx these egg-sore formats. For example, your job requires you to write a document in Word, and with this you can write Markdown and then use Pandoc to turn .docx it into and then brush your template style up.

It is worth mentioning that Pandoc is written in Haskell, and perhaps this is the only common software written by Haskell.

C:\Bin and Bat Wrapper

How do I organize the command-line tools on Windows before finishing. I put the command-line tool for most of the individual files in a directory, for example C:\Bin , and then put the path Path on it so that things can be used directly in the command line. But a lot of tools like cmake,gradle down themselves have a directory structure, not too good to drop directly in, these one on the C:\Bin Path top and very troublesome. One way to do this is to set up a bat file to connect to it. For example, I want to call NAnt at the command line, and I'll write it in the C:\Bin next build nant.bat :

@echo Offc:\bin\nant-0.92\bin\nant.exe%*

Which %* means that all parameters are transferred to the NAnt.exe . If you have obsessive-compulsive disorder look not hard coded path, can be written like this with a relative path:

@echo Off%~dp0nant-0.92\bin\nant.exe

%dp0will be replaced with the directory where the file resides.

At last

Finding handy tools to improve your productivity can always make people feel very refreshed. I hope you'll find something to use in this reading.


Configure a luxury Windows development environment

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.