Questions tagged [source-code]
119 questions
156
votes
11 answers
How can I embed programming source code in Powerpoint slide and keep code highlighting?
Is it possible to embed programming source code to Powerpoint slide, and keep code highlighting/coloring?
Yousui
- 1,917
30
votes
5 answers
How do I add formatted code to a Microsoft Word document?
I need to write a document in MS-Word 2007 that contains a lot of examples of VB.NET and C# code.
What is the best way of getting the code to look reasonable in the document?
What styles etc do people use?
(I do not have time to hand edit/format…
Ian Ringrose
- 1,299
23
votes
5 answers
Is there any way to change Bitbucket code highlighting
I like the code coloring in Github so that keywords gets highlighted when view source code.
But in Bitbucket i see very light color and almost no diff between codes , keywords etc.
very bad color coding for all languages
Is there any way to chnage…
user2424160
- 331
- 1
- 2
- 5
15
votes
2 answers
Is there a way to have syntax highlighting or code blocks with Evernote?
How do you take notes on code snippets and or command line sequences in Evernote (Mac or PC)? Is there a way to have code blocks like the 'Code Sample' buttons here:
example
Any way to have colored syntax highlighting?
evan
- 363
15
votes
3 answers
Notepad++ code outline as Eclipse's outline
Folding and unfolding blocks of code helps, but in bigger files I really want to have the outline overview of a class and its methods.
So, is there a plugin or anything for Notepad++ that I can have a outline of a class as the outline tab on…
rafaelxy
- 151
13
votes
3 answers
Are there any plugins for Microsoft Word to format source code samples inside a regular document?
I need to write a technical document in Microsoft Word, with source code samples sprinkled throughout the text.
Is there any way, without leaving Microsoft Word (maybe a plugin?), to format the source code snippets within the document in the same…
lipton
- 909
11
votes
1 answer
How do I download a Bazaar branch without installing anything?
I would like to download the source at http://bazaar.launchpad.net/~mysql-clr-team/connectornet/trunk/files/954. I don't see any zip options as I do with other source control systems.
How can I download the source of the latest revision or one…
user3109
11
votes
3 answers
How to auto format code from the command line?
Let's say I have a JavaScript in someRandomFile.js and I want to run a command like:
formatMyCode someRandomFile.js
Then inside the file it just indent everything in a nice way.
I want to do format PHP or HTML too. In VIM you can highlight some…
Clay
- 235
10
votes
4 answers
Where to find Windows Modern UI apps' source code?
As an amateur web developer I'm intrested in building native apps for Windows 8 with HTML5 and CSS. But It would be nice to see the source code of the apps that I have and which language they are written in.
Where can I find that source code? Or is…
Alfred Larsson
- 719
9
votes
4 answers
Is there a way for elegant source code listings in OpenOffice.org Writer?
I have tried to insert source code as listings in OpenOffice.org Writer, but it just doesn't work in an acceptable way.
If space is not enough for an line, it breaks that line automatically into the next one. Of course the reader of the…
Thanks
8
votes
4 answers
Beautiful paper prints with Emacs
Is it possible to get beautiful prints in GNU Emacs? By default using M-x print-buffer the output looks ugly, with big fonts and no margin.
For source code it would be nice to get a pretty font, syntax highlighting, a header and line numbering.
sverrejoh
- 183
7
votes
5 answers
Emacs: displaying list of subroutines/functions/classes in a source file
I have been using a little-known editor called "FTE" (or eFTE) for years; it has a nice utility that can display the list of the subroutines/functions/classes (or any such thing--depending on what regexp you define in its configuration file) in a…
Wirawan Purwanto
- 231
7
votes
1 answer
Get Source for Arch Linux Package?
In Debian based distributions you can run apt-get source to fetch the source code for a package. What is the equivalent for pacman on Arch Linux?
Drew Chapin
- 6,270
5
votes
1 answer
How to remove a package I compiled and installed manually?
I recently compiled and installed Git on a new install of Mac OS 10.6 but it didn't install the documentation.
I now realize I should've used the precompiled package offered here: http://code.google.com/p/git-osx-installer/downloads/list
How do I…
macek
- 6,525
5
votes
1 answer
Any native methods to have Firefox display site source code ("View Page Source") in a dark theme (white on black)?
Does Firefox currently have a native way (perhaps an about:config preference) to display the source code viewer ("View Page Source", view-source:) in a dark theme (white on black)?
I performed a search, but didn't see anything relevant.
Before…
Amazon Dies In Darkness
- 9,990