Skip to content

Instantly share code, notes, and snippets.

View nicholasptran's full-sized avatar
🤯

Nicholas Tran nicholasptran

🤯
  • 23:42 (UTC -07:00)
View GitHub Profile
@jrusbatch
jrusbatch / INSTRUCTIONS.md
Last active July 23, 2026 15:33
Integrating the C# LSP in Claude Code

C# LSP in Claude Code

The roslyn-language-server is a .NET tool that provides rich language features for C# through the Language Server Protocol. It powers editor integrations including the C# extension for Visual Studio Code and C# Dev Kit. It offers several operations that Claude can use to navigate C# code rather than using grep and friends.

The Roslyn LSP supports many operations defined by the language service protocol, but from what I read only these commands are supported by Claude as of v2.1.62.

  • goToDefinition: find where a symbol is defined.
  • findReferences: find all references to a symbol.
  • hover: get documentation and type info for a symbol.
  • documentSymbol: list all symbols in a document.
  • workspaceSymbol: search for symbols by name across the entire workspaced.
@kummerer94
kummerer94 / dash-example.py
Created April 6, 2023 09:21
This is an example for a Dash app that includes AAD auth.
import jwt
from dash import Dash, Input, Output, html
from flask import Flask, redirect, url_for
from flask_dance.contrib.azure import azure, make_azure_blueprint
from werkzeug.middleware.proxy_fix import ProxyFix
def login_required(func):
"""Require a login for the given view function."""