Live data from Hacker News

C# Autocomplete Demo Using Bing Code Search Engine

codesnippet.research.microsoft.com

11–20 of 50 posts

Re: C# Autocomplete Demo Using Bing Code Search Engine

#12
post #6

Nice idea. Sort of changes ideas as to what an IDE can/should do.

Related: Joe Armstrong's ideas on a global code database: http://erlang.org/pipermail/erlang-questions/2011-May/058768...

(Armstrong is the inventor of Erlang, by the way)

Re: C# Autocomplete Demo Using Bing Code Search Engine

#14
I installed on VS2013 Ultimate wo/Resharper and here is how it worked for me.

The '///' then tab does nothing but when I start typing in the IDE however it kicks in with a much better Intellisense complete with the Bing snippets like depicted on the VS Gallery. So perhaps they limited the slash+tab sequence?

Re: C# Autocomplete Demo Using Bing Code Search Engine

#15

I tried the web version, but it just says Loading. Do I need to install Silverlight?

No, it doesn't seem so. I have Silverlight installed but set to click-to-run, and the site will provide suggestions for the sample without running the Silverlight control.

Re: C# Autocomplete Demo Using Bing Code Search Engine

#16
One of my pet ideas is a new programmer's editor that uses proportionally as much compute resources as Emacs did in the late-80s. An amount of computing that would show up as a major line item on your department's timesharing bill.

1000 cores costs around $50/hr, so if it boosted my productivity measurably it'd be worth it. Searching all public github code for strings matching around my cursor seems like the sort of thing these 1000 cores should be doing.

Re: C# Autocomplete Demo Using Bing Code Search Engine

#17
post #16

One of my pet ideas is a new programmer's editor that uses proportionally as much compute resources as Emacs did in the late-80s. An amount of computing that would show up as a major line item on your department's timesharing bill. 1000 cores costs around $50/hr, so if it boosted my productivity measurably it'd be worth it. Searching all public github code for strings matching around my cursor seems like the sort of…

Interesting idea, would definitely make you increase the efficiency of your time at the editor if it costs you $50/hour! But you don't need 1000 cores to fire off a bunch of search requests. Network calls are generally IO bound so even one or two cores can handle lots of requests.

Re: C# Autocomplete Demo Using Bing Code Search Engine

#19
post #3
post #2

I installed the plugin, restarted VS, but nothing happens when I type: /// convert string to byte array and press tab afterwards. Am I missing anything? Edit: actually something does happen... it inserts a tab, just like any VS installation would do. Edit 2: from browsing through the comments it seems like it might be a ReSharper conflict. They said they would update it though, but in 8~9 months nothing has changed a…

Have you tried to uninstall and install ReSharper? In the past when ReSharper has prevented other plugins from working, that has been my solution.

I don't have ReSharper installed but get the same problem. The IntelliSense has improved but neither /// nor the "bring up IntelliSense and click the "How do I" button shown in the video works for me ..

Re: C# Autocomplete Demo Using Bing Code Search Engine

#20
post #2

I installed the plugin, restarted VS, but nothing happens when I type: /// convert string to byte array and press tab afterwards. Am I missing anything? Edit: actually something does happen... it inserts a tab, just like any VS installation would do. Edit 2: from browsing through the comments it seems like it might be a ReSharper conflict. They said they would update it though, but in 8~9 months nothing has changed a…

Same thing happens to me and I don't have ReSharper installed.
Post reply on HN