Discuss new Framework API structure
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 20/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Stack tecnológico
- csharp, powershell
- Área
- api, developer-experience, tooling
Línea de trabajo
El issue no menciona archivos, pruebas ni puntos de entrada. Empieza revisando la estructura actual de la Editor Services API y las propuestas de interfaz enumeradas; esta discusión no estará completa hasta que se hayan acordado un alcance concreto de la API y un objetivo de implementación.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
This issue is intended to be a discussion point for the new PowerShell Editor Services API model. The idea here is that Editor Services will now become a framework for adding new capabilities to editors that use it. The overall goal being that most non-core functionality will be enabled through modules that plug into the Editor Services APIs. PSScriptAnalyzer, Plaster, and other modules will add functionality directly through these APIs rather than PSES having to know about them and manage their integration.
Interfaces
All of these interface and method are subject to change as we develop the ideas further.
- IWorkspace - Provides access to the files in the current workspace and events for when files are opened, closed, changed, or saved
- ILogger - Writing logs to the Editor Services log. Important for module integrations to log their activities
- IFileMarkers - Adding markers to files, like those from PSScriptAnalyzer. Also providing quick fixes for these markers
- IMessageHandlers - Registering message handlers for both Language Server Protocol messages and custom message types
- ICodeLensProvider - Providing "code lenses" at arbitrary locations in the script which provide information and launch actions at that point
- IEditorCommands - Registering extension commands in the editor which show up in the command palette
- ICompletionsProvider - Providing custom completions (and snippets) in addition to the built-in completions and snippets
- IFileSymbols - Gathering information about symbols in a particular file
- IWorkspaceSymbols - Gathering information about symbols across the workspace
- IWindowMessages (?) - Showing messages in the editor window (ShowErrorMessage, etc)
- IWindowPrompts - Showing prompts natively in the editor's UI, mirrors the prompting functionality in the PSHostUserInterface API
- IDebuggerCommmands - Provides commands for the debugger, like breaking, stepping, continuing, etc
- IDebuggerEvents - Exposes events for the debugger, primarily around stopping and resuming
- IRunspaceEvents - Exposes events for when the active runspace changes, like when a remote session is established
- ICommandExecution - Commands for executing commands against the current runspace. Also exposes events that give state change information for command execution
TODO: Add more interfaces here
Please feel free to leave comments below to discuss APIs you'd like to see!
- Lenguaje dominante
- C#
- Estrellas
- 767
- Forks
- 266
- Merge medio
- 3 d 16 h
- PR fusionados (30 d)
- 1
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/PowerShellEditorServices
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET. Abierto
PowerShell/PowerShellEditorServices#2331 · 1 reacción · 2 asignados ·
-
Area-Language Server Issue-Enhancement
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PowerShellEditorServices#2315 · 1 comentario ·
-
Area-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · 1 reacción · 2 asignados ·
-
Issue-Bug Needs: Triage
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
PowerShell/PowerShellEditorServices#2293 · 1 comentario ·
-
PowerShell/PowerShellEditorServices#2282 · 1 comentario · 1 reacción · 2 asignados ·
Todos los issues de PowerShell/PowerShellEditorServices
Issues similares
-
Documentation
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
cake-build/cake#5024 ·
-
Gå gjennom ESLint-suppressions AbiertoFrontend status/draft TechnicalDebt
Dificultad 2/5 1-2 días Aptitud para principiantes 75/100
Altinn/altinn-auth#4143 ·
-
.NET Flaky Test Testing Tests
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
getsentry/sentry-dotnet#5617 · 1 comentario ·
-
Add more to the documentation Abierto:watch: Not Triaged dotnet-fsharp/svc
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Azure/azure-sdk-for-net#63292 · 3 comentarios · 1 reacción ·