Skip to content

Instantly share code, notes, and snippets.

@DuoDex
Created November 28, 2020 20:42
Show Gist options
  • Save DuoDex/54eb04beb595887eec14155a405d2b16 to your computer and use it in GitHub Desktop.
Save DuoDex/54eb04beb595887eec14155a405d2b16 to your computer and use it in GitHub Desktop.
[Trace - 3:41:37 PM] Sending request 'initialize - (0)'.
Params: {
"processId": 9860,
"clientInfo": {
"name": "vscode",
"version": "1.51.1"
},
"rootPath": "c:\\Users\\DuoDex\\Documents\\Paradox Interactive\\Hearts of Iron IV\\mod\\Kaiserreich Dev Build",
"rootUri": "file:///c%3A/Users/DuoDex/Documents/Paradox%20Interactive/Hearts%20of%20Iron%20IV/mod/Kaiserreich%20Dev%20Build",
"capabilities": {
"workspace": {
"applyEdit": true,
"workspaceEdit": {
"documentChanges": true,
"resourceOperations": [
"create",
"rename",
"delete"
],
"failureHandling": "textOnlyTransactional"
},
"didChangeConfiguration": {
"dynamicRegistration": true
},
"didChangeWatchedFiles": {
"dynamicRegistration": true
},
"symbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
}
},
"executeCommand": {
"dynamicRegistration": true
},
"configuration": true,
"workspaceFolders": true
},
"textDocument": {
"publishDiagnostics": {
"relatedInformation": true,
"versionSupport": false,
"tagSupport": {
"valueSet": [
1,
2
]
}
},
"synchronization": {
"dynamicRegistration": true,
"willSave": true,
"willSaveWaitUntil": true,
"didSave": true
},
"completion": {
"dynamicRegistration": true,
"contextSupport": true,
"completionItem": {
"snippetSupport": true,
"commitCharactersSupport": true,
"documentationFormat": [
"markdown",
"plaintext"
],
"deprecatedSupport": true,
"preselectSupport": true,
"tagSupport": {
"valueSet": [
1
]
}
},
"completionItemKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25
]
}
},
"hover": {
"dynamicRegistration": true,
"contentFormat": [
"markdown",
"plaintext"
]
},
"signatureHelp": {
"dynamicRegistration": true,
"signatureInformation": {
"documentationFormat": [
"markdown",
"plaintext"
],
"parameterInformation": {
"labelOffsetSupport": true
}
},
"contextSupport": true
},
"definition": {
"dynamicRegistration": true,
"linkSupport": true
},
"references": {
"dynamicRegistration": true
},
"documentHighlight": {
"dynamicRegistration": true
},
"documentSymbol": {
"dynamicRegistration": true,
"symbolKind": {
"valueSet": [
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26
]
},
"hierarchicalDocumentSymbolSupport": true
},
"codeAction": {
"dynamicRegistration": true,
"isPreferredSupport": true,
"codeActionLiteralSupport": {
"codeActionKind": {
"valueSet": [
"",
"quickfix",
"refactor",
"refactor.extract",
"refactor.inline",
"refactor.rewrite",
"source",
"source.organizeImports"
]
}
}
},
"codeLens": {
"dynamicRegistration": true
},
"formatting": {
"dynamicRegistration": true
},
"rangeFormatting": {
"dynamicRegistration": true
},
"onTypeFormatting": {
"dynamicRegistration": true
},
"rename": {
"dynamicRegistration": true,
"prepareSupport": true
},
"documentLink": {
"dynamicRegistration": true,
"tooltipSupport": true
},
"typeDefinition": {
"dynamicRegistration": true,
"linkSupport": true
},
"implementation": {
"dynamicRegistration": true,
"linkSupport": true
},
"colorProvider": {
"dynamicRegistration": true
},
"foldingRange": {
"dynamicRegistration": true,
"rangeLimit": 5000,
"lineFoldingOnly": true
},
"declaration": {
"dynamicRegistration": true,
"linkSupport": true
},
"selectionRange": {
"dynamicRegistration": true
},
"callHierarchy": {
"dynamicRegistration": true
},
"semanticTokens": {
"dynamicRegistration": true,
"tokenTypes": [
"comment",
"keyword",
"number",
"regexp",
"operator",
"namespace",
"type",
"struct",
"class",
"interface",
"enum",
"typeParameter",
"function",
"member",
"macro",
"variable",
"parameter",
"property",
"label"
],
"tokenModifiers": [
"declaration",
"documentation",
"static",
"abstract",
"deprecated",
"async",
"readonly"
]
}
},
"window": {
"workDoneProgress": true
}
},
"initializationOptions": {
"language": "hoi4",
"isVanillaFolder": false,
"rulesCache": "c:\\Users\\DuoDex\\.vscode\\extensions\\tboby.cwtools-vscode-0.9.3/.cwtools",
"rules_version": "latest",
"repoPath": "https://github.com/cwtools/cwtools-hoi4-config"
},
"trace": "verbose",
"workspaceFolders": [
{
"uri": "file:///c%3A/Users/DuoDex/Documents/Paradox%20Interactive/Hearts%20of%20Iron%20IV/mod/Kaiserreich%20Dev%20Build",
"name": "Kaiserreich Dev Build"
}
]
}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "repo path \"https://github.com/cwtools/cwtools-hoi4-config\""
}
[Info - 3:41:37 PM] repo path "https://github.com/cwtools/cwtools-hoi4-config"
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "New init { processId = Some 9860\n rootUri =\n Some\n file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build\n initializationOptions =\n Some\n {\r\n \"language\": \"hoi4\",\r\n \"isVanillaFolder\": false,\r\n \"rulesCache\": \"c:\\\\Users\\\\DuoDex\\\\.vscode\\\\extensions\\\\tboby.cwtools-vscode-0.9.3/.cwtools\",\r\n \"rules_version\": \"latest\",\r\n \"repoPath\": \"https://github.com/cwtools/cwtools-hoi4-config\"\r\n}\n capabilitiesMap =\n map\n [(\"textDocument.callHierarchy.dynamicRegistration\", true);\n (\"textDocument.codeAction.dynamicRegistration\", true);\n (\"textDocument.codeAction.isPreferredSupport\", true);\n (\"textDocument.codeLens.dynamicRegistration\", true);\n (\"textDocument.colorProvider.dynamicRegistration\", true);\n (\"textDocument.completion.completionItem.commitCharactersSupport\",\n true);\n (\"textDocument.completion.completionItem.deprecatedSupport\",\n true);\n (\"textDocument.completion.completionItem.preselectSupport\",\n true);\n (\"textDocument.completion.completionItem.snippetSupport\",\n true); ...]\n trace = Some Verbose\n workspaceFolders =\n [{ uri =\n file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build\n name = \"Kaiserreich Dev Build\" }] }"
}
[Info - 3:41:37 PM] New init { processId = Some 9860
rootUri =
Some
file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build
initializationOptions =
Some
{
"language": "hoi4",
"isVanillaFolder": false,
"rulesCache": "c:\\Users\\DuoDex\\.vscode\\extensions\\tboby.cwtools-vscode-0.9.3/.cwtools",
"rules_version": "latest",
"repoPath": "https://github.com/cwtools/cwtools-hoi4-config"
}
capabilitiesMap =
map
[("textDocument.callHierarchy.dynamicRegistration", true);
("textDocument.codeAction.dynamicRegistration", true);
("textDocument.codeAction.isPreferredSupport", true);
("textDocument.codeLens.dynamicRegistration", true);
("textDocument.colorProvider.dynamicRegistration", true);
("textDocument.completion.completionItem.commitCharactersSupport",
true);
("textDocument.completion.completionItem.deprecatedSupport",
true);
("textDocument.completion.completionItem.preselectSupport",
true);
("textDocument.completion.completionItem.snippetSupport",
true); ...]
trace = Some Verbose
workspaceFolders =
[{ uri =
file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build
name = "Kaiserreich Dev Build" }] }
[Trace - 3:41:37 PM] Received response 'initialize - (0)' in 262ms.
Result: {
"capabilities": {
"textDocumentSync": {
"openClose": true,
"change": 1,
"willSave": true,
"willSaveWaitUntil": false,
"save": {
"includeText": true
}
},
"hoverProvider": true,
"completionProvider": {
"resolveProvider": true,
"triggerCharacters": []
},
"signatureHelpProvider": null,
"definitionProvider": true,
"referencesProvider": true,
"documentHighlightProvider": false,
"documentSymbolProvider": true,
"workspaceSymbolProvider": false,
"codeActionProvider": true,
"codeLensProvider": null,
"documentFormattingProvider": true,
"documentRangeFormattingProvider": false,
"documentOnTypeFormattingProvider": null,
"renameProvider": false,
"documentLinkProvider": null,
"executeCommandProvider": {
"commands": [
"pretriggerThisFile",
"pretriggerAllFiles",
"genlocfile",
"genlocall",
"debugrules",
"outputerrors",
"reloadrulesconfig",
"cacheVanilla",
"listAllFiles",
"listAllLocFiles",
"gettech",
"getGraphData",
"showEventGraph",
"exportTypes"
]
}
}
}
[Trace - 3:41:37 PM] Sending notification 'initialized'.
Params: {}
[Trace - 3:41:37 PM] Sending notification 'workspace/didChangeConfiguration'.
Params: {
"settings": {
"cwtools": {
"trace": {
"server": "verbose"
},
"localisation": {
"languages": [
"English"
],
"generated_strings": ":0 \"REPLACE_ME\"",
"replaceme": ""
},
"errors": {
"vanilla": "false",
"ignore": [
"CW226"
],
"ignorefiles": [
"credits.txt",
"_Ministers_ideas.txt",
"CWTools CI.txt",
"Vanilla_dynamic_modifiers.txt",
"_collaboration_scripted_effects.txt",
"_peace_conference_scripted_triggers.txt",
"_General_ideas.txt",
"China_scripted_effects.txt",
"Annexations.txt",
"Russian_Socialist_Republic.txt",
"Sichuan.txt",
"Arabia.txt",
"Poland_KR.txt",
"Polish_Lithuanian_Commonwealth.txt",
"American_Civil_War.txt",
"Canada.txt",
"Russia.txt",
"United_States_of_America.txt",
"United_States_of_America_decisions.txt",
"American_Civil_War_decisions.txt",
"KR_intelligence_agency_upgrades.txt",
"_operation_strat_effects.txt",
"00_operations.txt",
"on_actions_global.txt",
"_party_popularity_effects.txt",
"Romania.txt",
"FNG - Fengtian.txt",
"00_traits_vanilla_operative.txt",
"on_actions_China.txt",
"Fengtian_operations.txt"
]
},
"experimental": true,
"debug_mode": "false",
"rules_version": "latest",
"rules_folder": "",
"ignore_patterns": [],
"cache": {
"eu4": "",
"hoi4": "c:\\Program Files (x86)\\Steam\\steamapps\\common\\Hearts of Iron IV",
"stellaris": "",
"ck2": "",
"imperator": "",
"vic2": "",
"ck3": ""
},
"graph": {
"zoomSensitivity": 1
},
"maxFileSize": 10
}
}
}
[Trace - 3:41:37 PM] Sending notification 'textDocument/didOpen'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/DuoDex/Documents/Paradox%20Interactive/Hearts%20of%20Iron%20IV/mod/Kaiserreich%20Dev%20Build/common/decisions/categories/American_Union_State_decision_categories.txt",
"languageId": "hoi4",
"version": 1,
"text": "TEX_manifest_destiny_decisions = {\r\n\ticon = GFX_decision_cat_picture_generic_border_conflicts\r\n\tallowed = {\toriginal_tag = TEX }\r\n\tvisible = { has_completed_focus = TEX_manifest_destiny }\r\n}\r\nTEX_deal_with_terrorists_decisions = {\r\n\ticon = GFX_decision_cat_picture_generic_border_conflicts\r\n\tallowed = {\toriginal_tag = TEX }\r\n\tvisible = { has_global_flag = USA_civil_war_over_flag }\r\n}\r\n"
}
}
[Trace - 3:41:37 PM] Sending request 'textDocument/documentSymbol - (1)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/DuoDex/Documents/Paradox%20Interactive/Hearts%20of%20Iron%20IV/mod/Kaiserreich%20Dev%20Build/common/decisions/categories/American_Union_State_decision_categories.txt"
}
}
[Trace - 3:41:37 PM] Sending request 'textDocument/codeAction - (2)'.
Params: {
"textDocument": {
"uri": "file:///c%3A/Users/DuoDex/Documents/Paradox%20Interactive/Hearts%20of%20Iron%20IV/mod/Kaiserreich%20Dev%20Build/common/decisions/categories/American_Union_State_decision_categories.txt"
},
"range": {
"start": {
"line": 0,
"character": 0
},
"end": {
"line": 0,
"character": 0
}
},
"context": {
"diagnostics": []
}
}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "New configuration { settings =\n {\r\n \"cwtools\": {\r\n \"trace\": {\r\n \"server\": \"verbose\"\r\n },\r\n \"localisation\": {\r\n \"languages\": [\r\n \"English\"\r\n ],\r\n \"generated_strings\": \":0 \\\"REPLACE_ME\\\"\",\r\n \"replaceme\": \"\"\r\n },\r\n \"errors\": {\r\n \"vanilla\": \"false\",\r\n \"ignore\": [\r\n \"CW226\"\r\n ],\r\n \"ignorefiles\": [\r\n \"credits.txt\",\r\n \"_Ministers_ideas.txt\",\r\n \"CWTools CI.txt\",\r\n \"Vanilla_dynamic_modifiers.txt\",\r\n \"_collaboration_scripted_effects.txt\"...}"
}
[Info - 3:41:37 PM] New configuration { settings =
{
"cwtools": {
"trace": {
"server": "verbose"
},
"localisation": {
"languages": [
"English"
],
"generated_strings": ":0 \"REPLACE_ME\"",
"replaceme": ""
},
"errors": {
"vanilla": "false",
"ignore": [
"CW226"
],
"ignorefiles": [
"credits.txt",
"_Ministers_ideas.txt",
"CWTools CI.txt",
"Vanilla_dynamic_modifiers.txt",
"_collaboration_scripted_effects.txt"...}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Cache exists at c:\\Users\\DuoDex\\.vscode\\extensions\\tboby.cwtools-vscode-0.9.3/.cwtools/hoi4/../.cwb"
}
[Info - 3:41:37 PM] Cache exists at c:\Users\DuoDex\.vscode\extensions\tboby.cwtools-vscode-0.9.3/.cwtools/hoi4/../.cwb
[Trace - 3:41:37 PM] Received response 'textDocument/documentSymbol - (1)' in 21ms.
Result: []
[Trace - 3:41:37 PM] Received response 'textDocument/codeAction - (2)' in 23ms.
Result: []
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Diag - 15:41:37] queue length: 0"
}
[Diag - 15:41:37] queue length: 0
[Trace - 3:41:37 PM] Received notification 'loadingBar'.
Params: {
"value": "Loading project...",
"enable": true
}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "c:\\Users\\DuoDex\\Documents\\Paradox Interactive\\Hearts of Iron IV\\mod\\Kaiserreich Dev Build"
}
[Info - 3:41:37 PM] c:\Users\DuoDex\Documents\Paradox Interactive\Hearts of Iron IV\mod\Kaiserreich Dev Build
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Parse docs time: 0"
}
[Info - 3:41:37 PM] Parse docs time: 0
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Diag - 15:41:37] lint force: true, shallow: false"
}
[Diag - 15:41:37] lint force: true, shallow: false
[Trace - 3:41:37 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build/common/decisions/categories/American_Union_State_decision_categories.txt",
"diagnostics": []
}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Diag - 15:41:37] lint after delayed"
}
[Diag - 15:41:37] lint after delayed
[Trace - 3:41:37 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///c:/Users/DuoDex/Documents/Paradox Interactive/Hearts of Iron IV/mod/Kaiserreich Dev Build/common/decisions/categories/American_Union_State_decision_categories.txt",
"diagnostics": []
}
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 4,
"message": "[Diag - 15:41:37] queue length: 0"
}
[Diag - 15:41:37] queue length: 0
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "cwtools current rules version: \"5a57047a6477fb7a984adc6481e1d8271bfd7ef8\""
}
[Info - 3:41:37 PM] cwtools current rules version: "5a57047a6477fb7a984adc6481e1d8271bfd7ef8"
[Trace - 3:41:37 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "cwtools new rules version: \"5a57047a6477fb7a984adc6481e1d8271bfd7ef8\""
}
[Info - 3:41:37 PM] cwtools new rules version: "5a57047a6477fb7a984adc6481e1d8271bfd7ef8"
[Trace - 3:41:39 PM] Received notification 'window/logMessage'.
Params: {
"type": 3,
"message": "Parse cache time: 2307"
}
[Info - 3:41:39 PM] Parse cache time: 2307
System.IO.DirectoryNotFoundException: Could not find a part of the path 'c:\Users\DuoDex\.vscode\extensions\tboby.cwtools-vscode-0.9.3\.cwtools\hoi4\_git2_a12528'.
at System.IO.Enumeration.FileSystemEnumerator`1.CreateDirectoryHandle(String path, Boolean ignoreNotFound)
at System.IO.Enumeration.FileSystemEnumerator`1.Init()
at System.IO.Enumeration.FileSystemEnumerator`1..ctor(String directory, Boolean isNormalized, EnumerationOptions options)
at System.IO.Enumeration.FileSystemEnumerable`1..ctor(String directory, FindTransform transform, EnumerationOptions options, Boolean isNormalized)
at System.IO.Enumeration.FileSystemEnumerableFactory.UserFiles(String directory, String expression, EnumerationOptions options)
at System.IO.Directory.InternalEnumeratePaths(String path, String searchPattern, SearchTarget searchTarget, EnumerationOptions options)
at System.IO.Directory.EnumerateFiles(String path)
at Main.Lang.GameLoader.configFiles@88.Invoke(String arg00) in C:\Users\Thomas\Git\cwtools-vscode\src\Main\GameLoader.fs:line 88
at Microsoft.FSharp.Collections.Internal.IEnumerator.map@75.DoMoveNext(b& curr) in E:\A\_work\130\s\src\fsharp\FSharp.Core\seq.fs:line 78
at Microsoft.FSharp.Collections.Internal.IEnumerator.MapEnumerator`1.System-Collections-IEnumerator-MoveNext() in E:\A\_work\130\s\src\fsharp\FSharp.Core\seq.fs:line 64
at Microsoft.FSharp.Core.CompilerServices.RuntimeHelpers.takeOuter@273[T,TResult](ConcatEnumerator`2 x, Unit unitVar0) in E:\A\_work\130\s\src\fsharp\FSharp.Core\seqcore.fs:line 274
at Microsoft.FSharp.Collections.SeqModule.ToList[T](IEnumerable`1 source) in E:\A\_work\130\s\src\fsharp\FSharp.Core\seq.fs:line 557
at Main.Lang.GameLoader.getConfigFiles(FSharpOption`1 cachePath, Boolean useManualRules, FSharpOption`1 manualRulesFolder) in C:\Users\Thomas\Git\cwtools-vscode\src\Main\GameLoader.fs:line 90
at Main.Lang.GameLoader.loadHOI4(ServerSettings serverSettings) in C:\Users\Thomas\Git\cwtools-vscode\src\Main\GameLoader.fs:line 199
at Main.Program.Server.processWorkspace(FSharpOption`1 uri) in C:\Users\Thomas\Git\cwtools-vscode\src\Main\Program.fs:line 442
[Trace - 3:41:39 PM] Received notification 'loadingBar'.
Params: {
"value": "",
"enable": false
}
[Trace - 3:41:40 PM] Sending request 'workspace/executeCommand - (3)'.
Params: {
"command": "getFileTypes",
"arguments": [
"output:extension-output-%235"
]
}
[Trace - 3:41:40 PM] Received response 'workspace/executeCommand - (3)' in 7ms.
No result returned.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment