 |
|
 |
Anyone try and port this over to 2005 yet?
___________________________
J A M E S C O L E M A N
Consultant, President
AgileBlue, Inc.
jcoleman@agileblue.net
|
|
|
|
 |
|
 |
Is it possible to categorize snipets somehow?
Are you going to implement any marco keywords? E.g public string %selectedText% etc.. ?
Urbanek
|
|
|
|
 |
|
 |
See previous posts on organization issues. No future development is planned. Thanks for the interest though.
|
|
|
|
 |
|
 |
Hiya!
I followed your instructions. Shut down all runinng instances of VS.NET, install, startup. But there's nothing in VS.NET
I'm using Microsoft Windows 2000 [Version 5.00.2195] and Visual Studio .NET 2003 w/ .NET Framework 1.1.
If I open Tools->AddIn-Manager... I can see the Code Depot entry. But I don't have any option in my context menu, a toolbar neither available. If I open up the Customize... for Toolbars and watch the "ToolBar" tab, there's nothing looking like Code Depot. In the "Commands" tab there's nothing under the "AddIns" list entry.
I even rebooted after installing Code Depot. Any ideas?
Regards,
Daniel
|
|
|
|
 |
|
 |
Look through the other messages in this article. Others have had a some issues with this as well. Merging the reg file that is included with the source code will refresh the VS.NET addins.
|
|
|
|
 |
|
 |
I apologize, I missed the "next page" link.
Anyway.. it did not work
I tried everything in the thread but the floating box is sill nowhere to find. I am an experienced user and I am sure I haven't made anything wrong and strictly followed the instructions in the thread "Problems after installation" and the article's ones before.
I switched VS.NET 2003 from fullscreen to normal window view, I rebooted so no .NET applications were running, merged the REG file but no floating box anywhere. And there's no commands for AddIns that could be added to a toolbar either.
I have no other AddIns installed.
|
|
|
|
 |
|
 |
Hmmm, very strange. Unfortunatley I don't think I have any other suggestions. Perhaps you can check out MS website for help? I've installed it on many machine and have never had a problem.
|
|
|
|
 |
|
 |
Indeed, it is strange. Unfortunately it doesn't work for me. I gave it another try when I got a free hours. I wouldn't try this at all if I was not seriously interested
Is there anything I can try by changing the source code to try to register in another way or bring up the floating box? :\
Windows 2000 - Service Pack 4
VS.NET 2003 Version 7.1.3088
.NET Framework 1.1 Version 1.1.4322
|
|
|
|
 |
|
 |
Hi,
while other add-ins work like a charm and are fully working and appear in the toolbar after installing if supposed to, this one won't work for some reason. I finally give up trying to get it to work. Sorry for that.
Daniel Monzert
|
|
|
|
 |
|
 |
When finished installing I tested it, but now I cann't find anyway to edit or delete my snipets. :(I have to deltet the whole CodeDepot.dat file. Can anybody tell me how?
|
|
|
|
 |
|
 |
Open the CodeDepot manager
|
|
|
|
 |
|
 |
Look at the first picture in this article. You see the Edit, Save and Delete buttons ? Use those...
|
|
|
|
 |
|
 |
I'm sorry for my silly problem, but it doesn't show complete UI and I can not find those buttons.
And today when I start my VS.NET, I cann't find Code Snipet storage Add-in's toolbar anymore. It's still in Add-in manager, but doesn't work.
|
|
|
|
 |
|
 |
Check out the other posts in this article, it may help you to solve you problem.
Merge the REG file included with the project to view the UI again.
|
|
|
|
 |
|
 |
Hi,
Thanks for a nifty tool.
I encountered a couple of exceptions when using the Code Depot Dialog.
After successfully tested the SQL Server connection, I was not able save connection info and create table. The CodeDepot Manager is empty, by the way.
I received another exception when I created a new snippet under CodeDepot Manager. I pasted the exception details below for your debugging.
Cheers,
_Hung_
************** Exception Text **************
System.InvalidOperationException: DragDrop registration failed. ---> System.Threading.ThreadStateException: The current thread must set to Single Thread Apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it.
at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
--- End of inner exception stack trace ---
at System.Windows.Forms.Control.SetAcceptDrops(Boolean accept)
at System.Windows.Forms.Control.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Form.OnHandleCreated(EventArgs e)
at System.Windows.Forms.Control.WmCreate(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmCreate(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
|
|
|
 |
|
 |
HI
This app ROCKS! I created a simple interface that shows all the Data Access methods.
I kind of seperated all the data stuff into a datalayer.
I also created a Web Service that this app could use to edit and add snipets too.
I thought that would be a nice addition to this app. That way developers in different locations
can share snipets.
Mike
|
|
|
|
 |
|
|
 |
|
 |
I've not check your code but in french we frequently using the ' character. If you put this caractere in the new snippet name it will refuse by error... I think it's only a SQL parsing error
Francois
|
|
|
|
 |
|
 |
I've fixed the bug and submitted the new zip files to CodeProject. I also sent you the zipped MSI file to your e-mail....
|
|
|
|
 |
|
 |
I have a request. Can you a category view for the code snippets? Something like a pseudo folder.
Example:
Folder Name: IO
Code Snippet 1 : Read text file
Code snippet 2 : write text file
Code Snippet 1 : Read XML file
Code snippet 2 : write XML file
...
It sounds like a dumb request, but it might be an easier way to organize codes once the list of snippets grows.
Combiming the folder-snippet structure and viewing the snippets in a treeview will make it look good.
Tell me what u think of this idea ...
|
|
|
|
 |
|
 |
Its not a dumb request, I actually attempted adding a catagory feature. The problem came in handeling control events. I originally wanted to have two ComboBoxes, the first one would hold the catagories and based on it's selection I would fill the second ComboBox with the catagory's snippets. Given the nature of the way Add-ins work, I could not reliably handle the ComboBox control events. Perhaps an entirely different control should be used, but I have not had the time to explore this yet.
|
|
|
|
 |
|
 |
I have exams till the middle of next month. I'll try and give you a hand after that ...
Cheers
|
|
|
|
 |
|
 |
Is it possible to store and point the Snippet Database, say to a SQL Server, so that several coders who have access authority to the database can add/edit/delete/view the same snippets? I've briefly tried to locate the Snippet Database used to store the code but couldn't find it.
Thanx, Nice Job! This addin saves a lot of time and effort trying to remember what I was doing yesterday let alone days or weeks ago.
Anntron
|
|
|
|
 |
|
 |
A network location for the snippet database and/or SQL is not supported right now, but could be added. Let me see how much work would be required...
the CodeDepot.dat file is located at:
\\Program Files\Microsoft Visual Studio .NET 2003\Common7\IDE
|
|
|
|
 |
|
 |
Thanx for responding so quickly, I'm impressed! I didn't mean to put you out. I know what it's like to try and support recreational code and work too. I wish my C# wasn't so dull ( ) otherwise I'd try it myself. I saw the "GetSQL.cs" in the source code and thought that maybe by adding a form with dynamic user input to point to a network share database that network functionality might be feasible but I see it's not that simple.
"You can't always get what you want but sometimes, you just might find, you get what you need."
The code is excellent the way it is.
anntron
|
|
|
|
 |