Any good resources for creating Visual Slick macros? - slickedit

Does any one know any good resources for creating Visual Slick macros?

I'd start with the official community forum for SlickEdit macros.

After the community forum - I would find the macros directory and go to town looking at all the .e files. Depending on what you want to do - there is a lot of samples in the actual implementation (just the same way I would do it for emacs).
For example, many years ago I wanted to have something like 'project-load' (dialog that lets you open from all files in the project) but instead of project files - let me open any of the currently checked-out files (not just open, but also diff etc), went and found the project-load source and used that as a sample on implementing a similar dialog

This is a great resource to start with. I wrote my first one here

There is a book by John Hurst, 'Professional SlickEdit',ISBN-13: 978-0-470-12215-0 that is useful to get you started.

Related

Eclipse Generic File Templates

I've seen this question in various guises around the place, but as yet haven't found a suitable answer. If this is a duplicate, appologies (I'd be surprised if it wasn't a duplicate!)
Basically, I have a project which is using (mostly) shell code and sql. I want to make sure all the files have a similar setup, and that I document things consistently. To this end, I want to have template files / skeleton code within Eclipse.
It seems easy enough with Java, but not other file types. I have checked out ShellEd and it didn't appear to have this feature (correct me if I'm wrong).
It would be great to be able to add this as a new file type, such that I can say File -> New -> sh/sql and have the correct basic template with the right header etc.
Also, if possible I would like to be able to, one click, add a function prototype with the correct documentation to my files...
I thought this would be easy enough, but a few days of Googling and messing about, it seems I need to write a plugin of my own... but I can't beleive that it's not possible, more likely my Google skills aren't up to scratch...
any help?
cheers
Rob
P.S I'm normally a Vi (not Vim) user, but have had Eclipse forced upon me!
For SQL the Data Tools Platform Extender SDK (DTP) Eclipse project contains a SQL editor with templates (under Database Development in Install New Software).

outlook addin: how to I develop my own one?

I am afraid this is an untypical "unspecific" question...
I have a lot of code in Outlook, and this should also be used by other users. Up to now I am exporting the modules and forms from my Outlook, and import them on the other machines. But this of course is quite a hassle on every change.
So I thought about turning them into an adding - easy to do for example for Excel...
I have done some Research now and the following questions are left:
is it right that the only software really useful is Visual Studio?
i did download the Trial Version of Visual Studio, and digged into it... but it seems I can not copy/paste the existing code, but there are a lot of changes necessary in the code - is that right? Is there a Kind of "translation" for the most common things?
Thanks for your answers,
Max
Not sure if by trial version you mean Visual Studio Express which you can find here:
http://www.microsoft.com/visualstudio/eng/downloads#d-2013-express
In any case this should allow you to copy/paste your code. Also if you are a student/academic you can download the full version for free (https://www.dreamspark.com).
If you don't want to use VS, you could try SharpDevelop and NetOffice as an alternative.
I wrote a series on my blog about how to create an add-in for Outlook. There are quite specific instructions on how to get started, pitfalls I encountered along the way and tips/tricks to help you.
Here is where the series starts: http://www.midniteblog.com/?p=6. You can see all the links for the series here: http://www.midniteblog.com/?s=outlook.
Hope this is helpful for you!
P.S. You definitely want to use Visual Studio for a project like this because of the nature of Microsoft product integration.

What do I need to build a DLL?

I'm having a number of issues, and the current one is overcoming a security exception when using iTextSharp.
This article
http://www.junlu.com/list/27/763977.html
To which I was directed following this question I posted yesterday:
Displaying a bar code with iTextSharp using Chris Love's Barcode Handler (2 part)
Seems to be what is required to overcome my problem. But I have searched and searched and cannot find a definitive and simple answer to the question "How do I compile a DLL"
So, having made the suggested modification to iTextSharp, I need to make it into a single DLL.
I have absolutely no idea how to do this, despite an hour of Googling!
I'm using Visual Web Developer 2010 Express. Which according to my searches does not have any built in capability to do this. So... how do I?!
Do I NEED to download Visual Web Developer Pro? I can surely download the free trial and use that, but going forward, I don't especially want to have to download a pay-for program to do this as it's a rare occurrence for my needs.

Is there something similar to Source Code Outliner Power Toy for VS2010?

I absolutely love the Source Code Ouliner power toy that I use in VS2005 but am upgrading to 2010 and it seems they haven't yet released a new version. Is there anything similar that shows you a basic outline of the file you are currently navigating?
ReSharper, amongst many other features, has a File Structure window which does the same as Source Outliner.
For a free one, try the Solution Navigator in the Microsoft Productivity Power Tools.
Like you, I found this a totally great plug in that saved on the order of minutes per day. No more searching for functions! Luckily Source Outliner has been re-created for VS2010 and is still free. However, sbohlen updated it and it now runs on the (free) DXCore environment. I have been using it ever since I upgraded to VS2010.
You can read along as I got this set up, downloaded all the parts and got it running.
http://unhandled-exceptions.com/blog/index.php/2010/05/23/plugins-for-dxcorecoderushxpresscoderushrefactor-pro-201014-rtm-available/
The download is here:
http://code.google.com/p/dxsourceoutliner/downloads/list
You will also need the DXCore community installer from http://www.devexpress.com
But as a ReSharper user for years now, I will use the File Structure - same sort of view and already built in to R#.

What is the most Interesting and innovative IDE?

As every programmer knows tools are important and there is no tool more important for a developer than the IDE you use to code. In the last few years the IDE-s fall into standards and it is not common to see innovation in this area. What IDE-s you can recommend as innovative and what new ideas and paradigms they introduced?
This is by far the coolest set of coding tools yet!
http://vimeo.com/36579366
I haven't used this but saw the demo video yesterday. The IDE is called code bubbles and has a unique way of showing and grouping related code together.
That said I find the intellitrace feature in Visual Studio 2010 quite innovative.
Palm's Project Ares: http://ares.palm.com/Ares/about.html
It's the IDE for the Palm webOS phones, that runs entirely as a web app. You build and run your app inside the browser, and when you're done, you deploy straight to the cloud.
I'd put my bet on Meta Programming System by Jetbrains. The concept is not new but it's the first time it has been implemented on such a huge scale with great IDE support. You create a DSL first, then write programs in that DSL and finally generate code in a target language.
I'll go for Scratch, though I wouldn't want to write a banking system using it :-)
Some cool videos of structured editor prototype that will let you directly code the AST.
This is a prototype only and I have no idea if it is still being developed.
One interesting IDE I have seen only on video is Code Bubbles. It opens code snippets as a graph of visual "bubbles". It is really interesting and definitely something I want to try.