Tag Info

Hot answers tagged

9

Even though they type vi or call it vi it may still be vim. And at least vim can do all the "modern" features like auto-completion and syntax-highlighting, too. It can also mark/copy/paste text using the mouse if you wish. I however prefer vim and the console because I can do 100% of the work without ever taking one hand off the keyboard. Try that with a ...


7

For developing C/C++ you need the gcc compiler, which is included in most Linux distributions or can be easily installed. There is not a default IDE: most people use their favorite editor (vim, emacs, Geany etc...) and there are IDEs like Eclipse or KDevelop available. C# can be done with Mono, but it is not fully compatible with .NET: check the ...


6

I'm a pretty hard-core Emacs user but still, for developing C++ I prefer Qt-Creator (don't be afraid because of the name, it works well for non-QT-projects) as Emacs lacks good project support and stable code completion The pros: Can import CMakeFiles.txt into an automatically created project Best code completion you'll find on Linux, sometimes even ...


4

I don't think you're looking in the right place. The functionality you're asking about is primarily one that would be provided by version control software. Specifically, use distributed revision control software, such as Bazaar, Git or Mercurial. Keep a repository on your local machine and one on your server. When you're satisfied with the changes, commit to ...


4

There's the same type of problem for awesomewm and probably quite a few other window managers. The dmw wiki has a section on this: Fixing misbehaving Java applications. The solution proposed is to change the window manager name by installing wmname, and then running: $ wmname LG3D If that works, make sure that is called at every X session startup. The ...


4

You mentioned above that you're looking for "crash-proof-ness", and you said that Unity appears unstable. Don't confuse the stability of the window manager with the stability of the distribution or the kernel. Unity is a quite new window manager (some say it was released before it was ready for production use and still needs polishing), and it may take ...


3

SMART over USB is generally either not possible, or is done with (bridge) vendor-specific commands, so there's no one way to get things done. smartctl knows about a few specific bridge chips. Check the manpage for a list. This is horrible, but the only 100% reliable way to access SMART on a disk is to unplug it from the bridge and stick it on a proper host ...


3

Stay with gcc compiler and Vim as an IDE. There are a lot of plugins for Vim that improves the experience in almost coding languages, but you should learn Vim first if you want to take advantage of that though. On the other side, I think just a few "firms" are naming "C#" and "Linux" in the same context.


3

In the VM, is the pxaregsmodule.c at /home/user/Dropbox/pxaregsmodule.c or /home/dknapp/Dropbox/pxaregsmodule.c? It seems to me like the symbolic link pxaregsmodule.c in /projectroot/modules is broken since it points to the wrong directory. What happens if you: tail ~/projectroot/modules/pxaregsmodule.c Does any code show up? If this is the problem, you ...


3

Eclipse is a good choice, because one IDE to many language. In addition you can install vim plugin, etc. How to install c/c++: Menu: Help->Install New Software->Add http://download.eclipse.org/tools/cdt/releases/galileo http://www.eclipse.org/cdt/ In addition, you should see: http://www.eclipse.org/linuxtools/downloads.php


3

What I would recommend is that you don't stick to any IDE's per say. Let your code stay as flat files in the filesystem, and use independent tools (Emacs, the GCC toolchain, Ctags, etc) you have to for implementing the operations you have to implement. That will keep your codebase IDE-independant and free of clutter that surrounds it (like .project files, ...


2

I use a vim that has Python interpreter compiled in. I source a python file that has this function: def pyterm(filename="", interactive=1): cmd = "%s %s %s " % (PYTHON, "-i" if interactive else "", filename) if "DISPLAY" in os.environ: return run_config(os.environ.get("XTERM"), cmd) else: return os.system(cmd) And map it to a ...


2

Try the quickrun plugin for Vim. The page includes a link to github, which is the latest version and which is what I use. The advantage in using this plugin as opposed to doing :!, the output from the command will be collected and shown in a split window. Also, by default that plugin will hang your vim instance when you ask it to execute a command, but it ...


2

Yes I think it's worth it. For instance what if you were creating/editing a bash script? Or peeking inside a text file and making a single-character change, an IDE might not be suitable or be overkill for such simple tasks. vi/vim will fire up almost instantaneously. Also, when accessing a system remotely having a text based editor available is useful. vi ...


2

I believe the whole idea about editors is kinda warped. I won't claim, that only I know what editor to use when. But we are forced to use editors that we aren't particularly fond of, usually. When using IDE's, we're all forced to use the editor that comes with it. Even though those editors can be tailored a bit, it's not that we can plug-in vim as IDE ...


1

You can install Aptana on Ubuntu (try those instructions). However, for a general-purpose IDE, I like Geany. Geany is a text editor using the GTK2 toolkit with basic features of an integrated development environment. It was developed to provide a small and fast IDE, which has only a few dependencies from other packages. It supports many filetypes and has ...


1

For my own personal and professional development, I've found that BSD has worked better, was more reliable, and would just do what you wanted over linux. Most of the tasks that I asked it to do though were of the server variety, such as running LAMP stacks or application servers. Never used a front end GUI on it at all.


1

FreeBSD is not the kernel alone while Linux is only the kernel with many variations ("distros"). Each distro has some variation. Linux also tends to make changes such as the recent systemd and Wayland while FreeBSD prefers "steady as she goes". In that case, FreeBSD is less likely to change its core infrastructure while, in Linux, there may be required ...


1

Personally I think they are equal although in the web hosting world I would venture a guess that Linux is used much more than FreeBSD. As a developer I have found it much easier to develop in an environment that is as similar to the production environment as possible. On that basis alone, I would go with Linux over FreeBSD for what you have detailed as ...


1

the debugging features provided by gdb are based on the set of symbols that comes with your compiled code. Actually there isn't a debug version available for the STL, but there are at least 2 portings that can add debug symbols to your code: http://www.stlport.org/ http://code.google.com/p/stl-debug/ gdb without debugging symbols is useless, so you have ...



Only top voted, non community-wiki answers of a minimum length are eligible