Why should I use an IDE? [closed]

It really depends on what language you’re using, but in C# and Java I find IDEs beneficial for: Quickly navigating to a type without needing to worry about namespace, project etc Navigating to members by treating them as hyperlinks Autocompletion when you can’t remember the names of all members by heart Automatic code generation Refactoring … Read more

How can I reload .emacs after changing it?

You can use the command load-file (M-x load-file, then press return twice to accept the default filename, which is the current file being edited). You can also just move the point to the end of any sexp and press C-xC-e to execute just that sexp. Usually it’s not necessary to reload the whole file if … Read more

Differences between Emacs and Vim

(the text below is my opinion, it should not be taken as fact or an insult) With Emacs you are expected to have it open 24/7 and live inside the program, almost everything you do can be done from there. You write your own extensions, use it for note-taking, organization, games, programming, shell access, file … Read more

How do I make git use the editor of my choice for editing commit messages?

Setting the default editor for Git Pick one: Set core.editor in your Git config: git config –global core.editor “vim” Set the GIT_EDITOR environment variable: export GIT_EDITOR=vim Setting the default editor for all programs Set the standardized VISUAL and EDITOR environment variables*: export VISUAL=vim export EDITOR=”$VISUAL” NOTE: Setting both is not necessarily needed, but some programs … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)