topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Saturday April 27, 2024, 6:32 pm
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - mtelligent [ switch to compact view ]

Pages: [1]
1
Just an Update: I can reproduce, but still no fix.

I used to CCProxy to test having a proxy server.

The code worked fine, if I set CCProxy not to require authentication, but if I did, it wouldn't work. (Tried just username/password)

I tried changing from using NetworkCredential to the CredentialCache object, but still no dice.

Here's the code if anyone has any suggestions otherwise I'll keep plugging away at it:

if (config.UseCustomProxySettings)
                {
                    System.Net.WebProxy proxy = new System.Net.WebProxy(config.ProxyServerAddress);
                    if (config.UseProxyCredentials)
                    {
                         proxy.Credentials =  new NetworkCredential(config.ProxyUserName, config.ProxyPassword, config.ProxyDomain));
                    }
                    else
                    {
                        proxy.Credentials = System.Net.CredentialCache.DefaultCredentials;
                    }
                    SnipplrProxy.Proxy = proxy;                   
                }

2
I'll look into things later tonight.

Did you specify a username/password/domain?

I might have to add code to pass the current credentials to the proxy, because right now, nothing is passed if you don't.

3
Good Point kartal. I changed the key to "CTRL" "Windows Key" "S". Still needed to use "CTRL" because the "Windows Key" "S" toggles caps lock if you have one of those intelli keyboards MSFT sells.

Wraith808, the updated version also supports configuring proxy settings for connecting to Snipplr. Let me know if you have any issues with it.

You can download the latest version from:
http://www.snipitpro.com/tryItFree.html

4
Snip-It Pro is written in C#.

The snipplr API is XML RPC so I am using the xmlrpc.net libraries at http://www.xml-rpc.net.

I can manually set the Proxy object like you described in your code snippet, or can just set it to the WebRequest.DefaultWebProxy which should (in theory) take the default proxy settings from Internet Explorer.

Would someone want to specify custom proxy settings for this one app, or just have it read the IE Settings?

5
Good Point. I actually hadn't thought about setting up a proxy. I'll look into it tonight and see if it's something I can easily add support for.


6
I Implemented the feature last night and just published it this morning.

CTRL, ALT, "S" will toggle the visibility of the snippet toolbar now.

By the way, There is another way to get snippets out of Snip-It Pro. You can publish them to Snipplr.com. Sign up for an account and enter your app ID into Snip-It Pro to enable this feature. Besides Snip-It Pro, there are plugins for Textmate and other programs that will allow you to get your snippets from Snipplr, so you won't be tied to Snip-It Pro. Snipplr is a pretty cool code snippet community, and every snippet you favorite, is viewable in Snip-It Pro.

7
kartal, the snippets are xml files stored in normal windows folders. When you add a snippet collection (basically a high level folder), you specify the folder location where the xml files get saved. You can even put them on network shares so teams can use the same snippets.

I can probably easily add support for a global hot key to toggle the visibility of the docking bar. I already allow you to assign global hot keys to use specific snippets. I'll let you know when that is implemented.

8
kartal, Thanks for the feedback.

Not sure what the firefox issue is. When I drag text from firefox to a folder in the toolbar dock, it creates a new snippet fine. I just need to type a description and save.

As far as dark themes, go, I am using a control vendor that provides themes, so until they make another layout available, i will add it.

Drag and Drop for the main window is something I am working on. That whole window is new to the program, it used to be a separate popup window for each snippet.

Search highlighting is a great idea, and something I will consider for the next point release.

Thanks,

-David

9
When you say snapping, you mean the docking? when you hit the close button, it doesn't exit. It can be brought back from the system tray.

You can also try unpinning it and it will autohide.

Hope that helps.

-Dave

10
thanks mouser. I'll actually have Snip-It Pro at half price on Bits Du Jour Saturday July 11th.


11
I created a product for managing code snippets too called Snip-It Pro.
http://www.snipitpro.com/

I modelled it after how snippets were handled in Homesite and Dreamweaver so it docks to the side of your screen so you can use it with any application that suppots drag and drop.

Just released a new version a couple weeks ago that has some useful features like code snippet templates, automatic commenting, syntax highlighting, global hot keys and integration with Snipplr, a web community for sharing code snippets online.

Any feedback would be greatly appreciated.

Pages: [1]