code-snippets

What would be a few ideas/concepts from programming that I can have on paper and hang on a wall as art?

And by that I mean any piece of code, or an idea presented in pseudo code, something which is very important and is almost art now. I intend to put up a few paintings and work on paper around my office which depict engineering, rather celebrate engineering. I want them to be not so ordinary like e=mc2 or anything too common or geeky, lik...

How to nest snippets in IBM Rational Developer?

Problem background: I have been set to the task of converting a bunch of old code-piece-files to snippets and have noticed that many of them contain the same piece of code, witch should then logically be put in a snippet of it's own as there whould otherwise be a lot of places to change, if (when) that piece of code changes. What I want...

Textmate-style snippets in Dreamweaver??

Can anyone tell if Dreamweaver supports Code snippets/bundles in the same style as Textmate, Coda, and E-Text Editor? That is, creating a 'trigger' in the form of a text string, followed by (usually) the Tab key. I know it is possible to set up triggers using the 'Ctrl' key, followed by a letter or number.But this method is quite limit...

Best way to store all javascript snippets?

What is the best way to store all javascript snippets? jsFiddle seems nice! But one cannot create an account. Here is my dream solution: I create an account. I type in all my snippets. I run my snippets to see the results and I save them. I share them with others. I can access them where ever I am. Is jsFiddle the way to do this (...

snipplr api application in Mac OSX

I'm using snipplr.com and I want to use in my local Mac also. Do you know any free snippets application in Mac ? Ifound Snippets app but it is expensive for me. I want to save my snippet in my local Mac and also share on snipplr like Snippets app. If it can cloud like evernote , it's more better. ...

Short cut to create properties in Visual Studio?

I have seen some people creating properties in C# really fast but I don't know how they did it. Does anyone know what short cut are available in Visual Studio (currently using 2010) to create properties? I am using C#. ex. public string myString {get;set;} Thanks. ...

Code-snippet or short cut to create a constructor in Visual Studio

What is the code-snippet or short cut to create a constructor in Visual Studio? Visual Studio 2010 and C#. I've used before but I can't remember. ...

Snippet Keystroke/Shortcut in Eclipse

So I was using Eclipse and I went to go copy some import statements I had selected but I somehow miss-typed and the coolest thing happened: A snippet package was created and a class Snippet.java was created which looked like this: package snippet; public class Snippet { public static void main(String[] args) { // Selected c...

custom code snippets in intellisense

ive started exporting some of my frequently used blocks of code to custom snippets is there a way to get these to show up in intellisense and not have to use the snippet browser from the context menu or snippet manager at first i thought this was connect to resharper but they still dont come up when i disable the resharper intellisense ...

C# Reading from a custom file

Okay so, I have read that .INI files have become obsolete now and the .NET Framework creators want us to use .XML files. However, I feel that it would be difficult for some of my users to use .XML files so I thought of creating a custom config file. I have a list string which has 3 parameters (it is actually the snippet function in Scin...

Overwriting default Code Snippets

I have been making several improvements on code snippets that are typically built into VS2010. Is there any way to either "prefer" certain snippet directories over others, or to overwrite the defaults without manually removing the references from the Code Snippets window? I would like to keep the same shortcuts. This is mostly nit-picki...

C# Creating a custom control

Hi, I need help creating a .dll file from a custom control so that it can be used on other projects. This is the first time I am doing this, and I couldn't find much help via google so help would be much appreciated. I have this code and I know I have to compile it as a class project, but I really don't know how, so I'd appreciate it if...