Discuss new Framework API structure
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 20/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- csharp, powershell
調査の方向性
この issue にはファイル、テスト、エントリーポイントが記載されていません。まず現在の Editor Services API の構造と、列挙されているインターフェースの提案を確認してください。具体的な API の範囲と実装対象について合意されるまで、この議論は完了とはみなされません。
索引モデルが issue の本文から書いたものです。
説明
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!
- 主要言語
- C#
- スター
- 767
- フォーク
- 266
- 平均マージ
- 3日 16時間
- マージ済み PR(30日)
- 1
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/PowerShellEditorServices のほかの issue
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET. オープン
PowerShell/PowerShellEditorServices#2331 · リアクション 1 件 · 担当者 2 名 ·
-
Area-Language Server Issue-Enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
PowerShell/PowerShellEditorServices#2315 · コメント 1 件 ·
-
Area-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · リアクション 1 件 · 担当者 2 名 ·
-
Issue-Bug Needs: Triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
PowerShell/PowerShellEditorServices#2293 · コメント 1 件 ·
-
PowerShell/PowerShellEditorServices#2282 · コメント 1 件 · リアクション 1 件 · 担当者 2 名 ·
PowerShell/PowerShellEditorServices の issue をすべて見る
似ている issue
-
Documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
cake-build/cake#5024 ·
-
Frontend status/draft TechnicalDebt
難易度 2/5 1〜2日 初心者へのやさしさ 75/100
Altinn/altinn-auth#4143 ·
-
.NET Flaky Test Testing Tests
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
getsentry/sentry-dotnet#5617 · コメント 1 件 ·
-
:watch: Not Triaged dotnet-fsharp/svc
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
-
Client customer-reported needs-team-attention question Service Attention WebPubSub
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
Azure/azure-sdk-for-net#63292 · コメント 3 件 · リアクション 1 件 ·