How can we make Microsoft Teams better?

Searchable code snippets

It's not possible to search for the content of a code snippet.

Would be great to be able to search for parts of the content, e.g. if you want to search for examples where a certain class or library is in use.

13 votes
Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)

We’ll send you updates on this idea

Øystein shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →

2 comments

Sign in
(thinking…)
Sign in with: Facebook Google
Signed in as (Sign out)
Submitting...
  • Mikke Tanska commented  ·   ·  Flag as inappropriate

    It was disappointing to notice that this does not work yet. Reliable search functions is a must have. As most of our internal discussion now takes place in Teams it would be natural place for internal Q&A also. Was delighted about the possibility to integrate code snippets with proper syntax highlighting into the posts, but as those are ignored by the search it really cripples the whole use case. Really need to be able to search at the same time from non-structured discussions and more thought out examples and write ups (utilizing the code snippets)!

  • Andreas commented  ·   ·  Flag as inappropriate

    Yes, this should definitely be added, sometimes I use this for something other than code as well. Without being able to search inside code snippets it's almost impossible to find again considering how slow scrolling back is (please fix that as well). Also there is no warning that this content will not be searchable making it more dangerous for user of this function (if they just assume they will be able to find this important snippet later).

Feedback and Knowledge Base



You are about to visit the UserVoice site for Microsoft Teams

We have partnered with UserVoice, a 3rd party service providing public discussion forums for product-specific feedback.

By clicking "Continue to UserVoice" you agree to UserVoice's Privacy Policy and Terms of Use.