TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

C# Autocomplete Demo Using Bing Code Search Engine

127 pointsby miketover 10 years ago

17 comments

tlbover 10 years ago
One of my pet ideas is a new programmer&#x27;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&#x27;s timesharing bill.<p>1000 cores costs around $50&#x2F;hr, so if it boosted my productivity measurably it&#x27;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.
评论 #8565497 未加载
评论 #8564058 未加载
评论 #8582430 未加载
评论 #8563562 未加载
doczoidbergover 10 years ago
the linked page is an old version. New version: <a href="https://visualstudiogallery.msdn.microsoft.com/a1166718-a2d9-4a48-a5fd-504ff4ad1b65" rel="nofollow">https:&#x2F;&#x2F;visualstudiogallery.msdn.microsoft.com&#x2F;a1166718-a2d9...</a>
taternutsover 10 years ago
This seems like a really cool idea, but I&#x27;m not sure how useful it&#x27;d end up being. I also wasn&#x27;t able to get it to actually work with anything other than the demo question they provided
评论 #8563017 未加载
Avalaxyover 10 years ago
I installed the plugin, restarted VS, but nothing happens when I type:<p>&#x2F;&#x2F;&#x2F; convert string to byte array<p>and press tab afterwards.<p>Am I missing anything?<p>Edit: actually something does happen... it inserts a tab, just like any VS installation would do.<p>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 apparently.
评论 #8562851 未加载
评论 #8563850 未加载
zamalekover 10 years ago
It also aptly demonstrates the issues with doing internet searches for code, the snippet in the demo has a bug!<p>Still, it&#x27;s a crazy neat idea.
评论 #8564318 未加载
arikrakover 10 years ago
I always thought that people should have more built-in search power when they code. It&#x27;s funny that Microsoft is taking the lead over Google on this, though I guess Google doesn&#x27;t have their own IDE.<p>Soon, modular projects will just consist of searching and plugging in components...
评论 #8564863 未加载
cl8tonover 10 years ago
I installed on VS2013 Ultimate wo&#x2F;Resharper and here is how it worked for me.<p>The &#x27;&#x2F;&#x2F;&#x2F;&#x27; 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?
评论 #8563956 未加载
crb002over 10 years ago
Why aren&#x27;t we using git like hashes for compilers? Take referentially transparent parts of code, blob together and make a hash of the AST in a canonical form and a hash of the assembly, source, transforms used, and benchmark stats. The compiler would run continiously searching for new solutions.
Nate630over 10 years ago
Nice idea. Sort of changes ideas as to what an IDE can&#x2F;should do.
评论 #8563286 未加载
评论 #8564399 未加载
nickdandakisover 10 years ago
Does anybody know of a Sublime Text or Atom package that does this?
评论 #8563631 未加载
cturhanover 10 years ago
I typed<p>&#x2F;&#x2F;&#x2F;how to parse json<p>and it waits...
vblordover 10 years ago
This is a great idea, but I can&#x27;t get the website to work. I will try the IDE because this is actually pretty useful.
mcescalanteover 10 years ago
Unfortunately I don&#x27;t write much C# (took a few courses that heavily used it) so it&#x27;s going to be hard for me to really get an idea of what this feels like to have access to all the time (i.e. know if it&#x27;s really useful). I&#x27;d really love to see what it feels like with a scripting language like Python or Javascript
TorKlingbergover 10 years ago
I tried the web version, but it just says Loading. Do I need to install Silverlight?
评论 #8563424 未加载
justinlloydover 10 years ago
I fear for the future of working with copy&#x2F;paste programmers, but then my fears are probably unfounded because after all, this uses the Bing search engine. Searching for &quot;&#x2F;&#x2F;&#x2F;how to sort an array&quot; will most likely just give me the top ten tourist hotels in Paraguay instead.
评论 #8565981 未加载
评论 #8564939 未加载
syskover 10 years ago
Waiting for the Vim plugin :)
kyberiasover 10 years ago
Because we need to have more people using random copy-pasted code in their programs.
评论 #8564436 未加载