Skip to content
This repository has been archived by the owner on Oct 25, 2024. It is now read-only.

unLomTrois/ck3tiger-for-vscode

Repository files navigation

The extension moved here: ck3tiger-for-vscode-2

ck3-tiger for VS Code

Are you tired of constantly dealing with the tedious process of open error.log -> copy path to an error -> navigate to the path -> fix the error -> go back to the error log -> repeat?

This extension integrates the ck3tiger functionality to Visual Studio Code, enabling you to view errors directly in the Problems tab.

Problem tab

image

image

Errors in the editor

image

Usage

After activation, the extension will ask you few questions:

  1. path to your ck3tiger binary image
  2. path to ck3 "game" folder image
  3. path to the descriptor.mod file image

Then you can run ck3tiger from the status bar: image

How to get rid of a problem I just fixed?

Because the ck3tiger is not a language server, to get rid of the problem, you'll need to run ck3tiger again

Get problems without running ck3tiger

If you have not much RAM, you can run ck3tiger in its folder, and write the output to "tiger.json" file, and then run vscode and run command "Get problems from the log file"

image

Disclamer

Please be aware that this extension is still in development and may have some rough edges.

Currently, it has been tested only on Windows, and its compatibility with Linux systems is not guaranteed.

Feel free to try it out and provide feedback to help us improve the extension further!