|
| 1 | +// Copyright 2025 Amazon.com, Inc. or its affiliates. All Rights Reserved. |
| 2 | +// SPDX-License-Identifier: Apache-2.0 |
| 3 | + |
| 4 | +package software.aws.toolkits.jetbrains.services.amazonq.lsp.textdocument |
| 5 | + |
| 6 | +import com.intellij.openapi.Disposable |
| 7 | +import com.intellij.openapi.project.Project |
| 8 | +import com.intellij.openapi.vfs.VirtualFileManager |
| 9 | +import com.intellij.openapi.vfs.newvfs.BulkFileListener |
| 10 | +import com.intellij.openapi.vfs.newvfs.events.VFileCreateEvent |
| 11 | +import com.intellij.openapi.vfs.newvfs.events.VFileDeleteEvent |
| 12 | +import com.intellij.openapi.vfs.newvfs.events.VFileEvent |
| 13 | +import org.eclipse.lsp4j.CreateFilesParams |
| 14 | +import org.eclipse.lsp4j.DeleteFilesParams |
| 15 | +import org.eclipse.lsp4j.FileCreate |
| 16 | +import org.eclipse.lsp4j.FileDelete |
| 17 | +import software.aws.toolkits.jetbrains.services.amazonq.lsp.AmazonQLanguageServer |
| 18 | +import software.aws.toolkits.jetbrains.utils.pluginAwareExecuteOnPooledThread |
| 19 | + |
| 20 | +class TextDocumentServiceHandler( |
| 21 | + private val project: Project, |
| 22 | + private val languageServer: AmazonQLanguageServer |
| 23 | +) : Disposable { |
| 24 | + |
| 25 | + fun startTextDocumentServiceListeners() { |
| 26 | + |
| 27 | + } |
| 28 | + |
| 29 | + private fun didClose() { |
| 30 | + |
| 31 | + } |
| 32 | + |
| 33 | + private fun didOpen() { |
| 34 | + |
| 35 | + } |
| 36 | + private fun didChange() { |
| 37 | + |
| 38 | + } |
| 39 | + |
| 40 | + private fun didSave() { |
| 41 | + |
| 42 | + } |
| 43 | + |
| 44 | + override fun dispose() { |
| 45 | + } |
| 46 | +} |
0 commit comments