mirror of
https://github.com/voideditor/void
synced 2026-05-24 09:58:23 +00:00
misc fixes
This commit is contained in:
parent
6a44d668db
commit
0f26ee2288
2 changed files with 4 additions and 4 deletions
|
|
@ -103,7 +103,7 @@ class MarkerCheckService extends Disposable implements IMarkerCheckService {
|
|||
|
||||
|
||||
fixErrorsInFiles(uris: URI[], contextSoFar: []) {
|
||||
const allMarkers = this._markerService.read();
|
||||
// const allMarkers = this._markerService.read();
|
||||
|
||||
|
||||
// check errors in files
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
import { CancellationToken } from '../../../../base/common/cancellation.js'
|
||||
import { URI } from '../../../../base/common/uri.js'
|
||||
import { IModelService } from '../../../../editor/common/services/model.js'
|
||||
import { IFileService } from '../../../../platform/files/common/files.js'
|
||||
import { registerSingleton, InstantiationType } from '../../../../platform/instantiation/common/extensions.js'
|
||||
import { createDecorator, IInstantiationService } from '../../../../platform/instantiation/common/instantiation.js'
|
||||
|
|
@ -113,7 +112,9 @@ async function generateDirectoryTreeMd(fileService: IFileService, rootURI: URI,
|
|||
const stat = await fileService.resolve(uri, { resolveMetadata: false });
|
||||
|
||||
// we might want to say where symlink links to
|
||||
if ((depth === 0 && pageNumber === 1) || depth !== 0)
|
||||
if (depth === 0 && pageNumber !== 1)
|
||||
output += ''
|
||||
else
|
||||
output += `${indentation(depth, isLast)}${stat.name}${stat.isDirectory ? '/' : ''}${stat.isSymbolicLink ? ` (symbolic link)` : ''}\n`;
|
||||
|
||||
// list children
|
||||
|
|
@ -193,7 +194,6 @@ export class ToolsService implements IToolsService {
|
|||
|
||||
constructor(
|
||||
@IFileService fileService: IFileService,
|
||||
@IModelService modelService: IModelService,
|
||||
@IWorkspaceContextService workspaceContextService: IWorkspaceContextService,
|
||||
@ISearchService searchService: ISearchService,
|
||||
@IInstantiationService instantiationService: IInstantiationService,
|
||||
|
|
|
|||
Loading…
Reference in a new issue