How To Format A Block of Code Within a Presentation? [closed] - syntax-highlighting

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 7 years ago.
Improve this question
I am preparing a presentation using Google Slides, though I can also work on the presentation within Open Office that will include code snippets.
Is there any easy way to perform basic syntax highlighting on the code snippets with either Google Docs or Open Office Presenter?
Edit: Since I believe that I can find a way to embed HTML, any tools that can perform syntax highlighting on HTML would also be welcome suggestions.

An on-line syntax highlighter:
http://hilite.me/
Just copy and paste into your document.

http://www.tohtml.com/ created syntax highlighted HTML code for lots of languages. It might be what you're looking for.

If you're using Visual Studio (this might work in Eclipse also, but I never tried) and you copy & paste into Microsoft Word (or any other microsoft product) it will paste the code in whatever color your IDE had. Then you just need to copy the text out of word and into your desired application and it will paste as rich text.
I've only seen this work across Visual Studio to other Microsoft products though so I don't know if it will be any help.

With the new Add-Ons for Google Drive, you can get code highlighting with the Code Pretty add-on.

I've also thought of this. Finally, my solution is to use github gist. Don't forget it also has highlight functionality. Just copy it. :)

Just a few suggestions:
Screenshots might be an easy way, but you'll have to make sure the code in the image is big enough and clear enough to read. (not the whole screenshot, just the relevant part)
If you can embed html then there are lots of tools to generate syntax highlighted html.

If you write your code in emacs then you might be interested in the htmlize elisp package.

Check out http://codepad.org. It probably won't solve the poster's problem; but, I think it will be of use to others who read this article.

Related

Annotate code in VS 2010 without changing that code [closed]

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 have just started a new job, and am trying to familiarise myself with a large C# solution, of 330 odd projects. Ideally I would like to attach comments and questions to pieces of code without actually editing the code itself.
Is there a tool I can use to annotate C# source code without actually editing the code itself. Ideally I would like a 'bubble' type comment mechanism, similar to how MS Word shows comments in a a document.
you can add bookmarks to lines of files of a solution. In vs2010 there is a view that shows all bookmarks and you can give tem names and sort them in bookmarkfolders.
On studio 2010, with your desired Project open, hit "Ctrl+W, T" (or View->Task List). This window can both be used to view in-code comments (which is not what you want) using the //TODO: comment prefix, or to view your own independente "User Tasks" (view the dropdown options), and it is saved per project. With this list indicating your descriptions and bookmarks id... you can have a very efective freeway to what you want without ever changing source. Hope it helps.
It may well be overkill for your needs, but Atlassian's FishEye can be used to exactly what you're after - in the form of a source code review.
You could create more than one review, as your understanding of the code improves.
See https://www.atlassian.com/software/fisheye/overview. Note that it sits on top of a source control system (it supports Subversion, CVS, Perforce, Git, and Mercurial). Even if your code is not managed in one of these, it would be trivial to set one up for this purpose.
It also as the advantage of integrating your comments with those of other in your team ... and, of course, being usable for real reviews!

Are there any good alternatives for Visio/PowerPoint? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
Are there any good alternatives for Visio/PowerPoint for drawing architectural diagrams. Both Visio and PowerPoint are annoying to use even for some of the simplest tasks. wondering if someone out there has a better suggestion.
Try diagrams.net (previously draw.io). It free and open source, it works natively in any browser and you can save locally or to Google Drive, OneDrive, Github and Gitlab. There's also a Desktop app for Window, macOS and Linux.
I am a developer of diagrams.net.
All of the alternatives I tried sucked! I just used PowerPoint, better than Visio!
I use Draw in OpenOffice for Visio alternatives... Seems to work okay.
I recently discovered Google Docs Draw. Good for me.
gliffy.com for example.
I use OmniGraffle for mac, and I enjoy using it. There is also smartdraw for PC. They are both good options for non-professional architectural diagrams. For more professional diagrams, CAD programs tend to have more options.
ARIS Express --> can import Visio 2007 diagrams
LucidChart all the way!
http://www.lucidchart.com
Just try it once. Having used Visio extensively over the years--I can't tell you how satisfying LucidChart is to use.

Code with syntax highlighting in a word processor [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
How can I get code with syntax highlighting into a word processor?
It's for a manual that will have code examples which should be able to go from page to page so putting images is not an option.
I'd rather do it with OpenOffice but I could also use iWorks or Office. The code is Ruby, Java, Python and maybe others. I could use TextMate to export it if necessary.
XCode does that already, I think. If you copy out of its window and paste into another app that accepts rich text, the formatting comes along with it. I just made a screenshot:
screenshot http://img710.imageshack.us/img710/8756/xcodetextedit.png
VIM has a syntax hilighing for almost every programming language, and has option to export hilighted source as HTML file that should be easily imported by word processor. Use
:TOhtml
I was able to copy/paste correctly highlighted Java code from Eclipse into Word 2007 and Word 2010 by selecting not the regular Paste, but Paste Special->Rich Text Format.
"Paste Special" is found by clicking the little down arrow under the Paste icon on the Word Ribbon Bar.
See http://www.fauskes.net/nb/syntaxms/
http://www.scintilla.org/SciTE.html

RapidWeaver-like editor for windows [closed]

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
After seeing a friend using RapidWeaver and producing wonderful results in a few clicks, I was astonished and started searching if a tool like that exists for Windows. Unfortunately, so far my search yielded no result, so I'm writing here the criteria I'm using hoping that anybody will come up with a relevant suggestion:
WYSIWYG HTML editor
Must work (well!) on Windows (Vista/7)
Must not be web based (I don't care about webapps allowing me to create sites off of crappy templates)
Template-based (and possibly with many templates available)
Pretty flexible (nothing like Dreamweaver, but I wouldn't like being stuck with just entering text into some prebuilt templates)
Intuitive (and possibly good looking) UI
Producing standards-compliant markup (office-like HTML is not an option)
Here is what I don't care about:
Price/License (if it's commercial it's probably even better for my purpose, as if the tool is good I will want fast, quality support)
Good code editing features (when I'll get my hands dirty with the markup I want things to be looking already pretty good so I'll just have to improve certain areas based on my requirements...)
Server-side scripting (I'm handling that otherwise, for this tool I just care about the design part)
Here's a list of commonly recommended tools I consider unfit for my needs:
NVU
KompoZer
Microsoft Expression Web
Microsoft Visual Web Designer
Adobe Dreamweaver (good, but too good for my needs. At this stage, I'd prefer something quicker, even if it means having lower quality html)
Thanks in advance for your suggestions!
Probably too late, and not sure if this helps you anyway:
http://www.artisteer.com
http://www.xara.com/eu/products/webdesigner/

I am looking for a webbased text editor that supports collaboration [closed]

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 am looking for a web based text editor that supports collaboration with 2 or more people.
I am hoping to work on a fairly 'small' project with a couple other people from afar and would really like for us to be able to work on the same file at the same time and see the changes each other make in 'real time'.
Language built on is not much of an issue, would prefer to have syntax highlighting, but not really required.
EtherPad is ideal for realtime collaborative editing, much better than google docs if you're ok with strictly plain text.
Try it out here: http://etherpad.org/
I just tried out CollabEdit for comparison and it seems it really can't handle two people typing at the same time.
See also these similar questions:
How do you collaborate with other coders in real time?
https://stackoverflow.com/questions/148538/what-is-a-great-tool-for-remote-pair
What Features Should Tomorrow's Wiki Include?
google docs would be a save bet. it allows for simultanous editing.
Try out Bespin the new one from Mozilla! It is supposed to have collaboration tools built in, Though I'm not sure if all the features are available yet.
CollabEdit
I saw this linked in another question and it seems to fit the bill 100%, web-based and syntax highlighting.
Have you looked at Google Apps? Myself and two others were using the spreadsheet for planning on a project. You can see the other people moving around their curors and entering text. It's very very cool.
Look at DocSynch
I saw demo of the plugin for eclipse, i dont' remember it's name... maybe this one
Also this wiki page has a list of the collaborative editors.
I hear Mozilla's new "cloud" text editor, Bespin, looks interesting.

Resources