<commit_before><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../common/baseWebview.js" type="text/javascript"></script>
    <script src="overview.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../modelView/static/baseView.css"></link>
    <link rel="stylesheet" type="text/css" href="overview.css"></link>
    <link rel="stylesheet" type="text/css" href="../common/codicon.css"></link>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- CSP -->
    <title>AI Planning and PDDL support in VS Code</title>
</head>

<body onload="initialize()">
    <h1>AI Planning and PDDL support in VS Code</h1>

    <table id="alertList" class="alertList">
        <tr id="installIconsAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Improve usability by installing the <a href="command:extension.open?%22vscode-icons-team.vscode-icons%22"
                    title="Extension that brings clearer file icons.">VS Code Icons for PDDL files</a> to quickly
                distinguish PDDL files
                <button onclick="installIcons()">Install icons e.g.
                    <img src="file_type_pddl.svg" class="fileIcon" title="Icon of domain and problem files." />
                    <img src="file_type_pddl_plan.svg" class="fileIcon" title="Icon for plan files." />
                    <img src="file_type_pddl_happenings.svg" class="fileIcon" title="Icon for happenings files." />
                </button>
            </td>
        </tr>
        <tr id="enableIconsAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Enable VS Code Icons extension to quickly distinguish PDDL files
                <button onclick="enableIcons()">Enable icons e.g.
                    <img src="file_type_pddl.svg" class="fileIcon" title="Icon of domain and problem files." />
                    <img src="file_type_pddl_plan.svg" class="fileIcon" title="Icon for plan files." />
                    <img src="file_type_pddl_happenings.svg" class="fileIcon" title="Icon for happenings files." />
                </button>
            </td>
        </tr>
        <tr id="enableAutoSaveAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>When processing files using command-line tools, it is simpler to enable file auto-saving.
                <button onclick="location.href='command:workbench.action.toggleAutoSave'" class="alertButton" style="width: 150px">Enable auto-save</button>
                <br />It is also recommended to go run the <i>Git: Initialize Repository</i> command to enjoy safety of
                version control and never miss a working version.
            </td>
        </tr>
        <tr id="downloadValAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Download the latest
                <a href="https://dev.azure.com/schlumberger/ai-planning-validation">build</a> of
                <a href="https://github.com/KCL-Planning/VAL">VAL tools</a> to get a PDDL parser, to be able to validate and
                evaluate plans.
                <button onclick="downloadValInformed(this)" class="alertButton" id="downloadValAlertButton"
                    title="Click to initiate download. You will be able to see what is being downloaded and from where...">Download</button>
                plan validation tools
            </td>
        </tr>
        <tr id="updateValAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>New version of
                <a href="https://github.com/KCL-Planning/VAL">VAL tools</a> is available.
                Update to the latest version.
                <button onclick="downloadValInformed(this)" class="alertButton" id="updateValAlertButton"
                    title="Click to initiate download..">Update VAL</button>
            </td>
        </tr>
        <tr id="enableFormatterAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Enable on-type formatter to save time and make your models readable without wasting time formatting whitespace.
                <button onclick="enableFormatOnType()" class="alertButton" title="Enable on-type formatting for all languages in VS Code">Enable On-Type Formatter</button>
                <button onclick="enableFormatOnTypeForPddlOnly()" title="Enable on-type formatting for PDDL only." class="alertButton">...for PDDL only</button>
                    <br/>
                You can switch it off again using the <snap class="code">editor.formatOnType</snap> setting. <commit_msg>fix for file auto-safe config button<commit_after><!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <script src="../common/baseWebview.js" type="text/javascript"></script>
    <script src="overview.js" type="text/javascript"></script>
    <link rel="stylesheet" type="text/css" href="../modelView/static/baseView.css"></link>
    <link rel="stylesheet" type="text/css" href="overview.css"></link>
    <link rel="stylesheet" type="text/css" href="../common/codicon.css"></link>
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <!-- CSP -->
    <title>AI Planning and PDDL support in VS Code</title>
</head>

<body onload="initialize()">
    <h1>AI Planning and PDDL support in VS Code</h1>

    <table id="alertList" class="alertList">
        <tr id="installIconsAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Improve usability by installing the <a href="command:extension.open?%22vscode-icons-team.vscode-icons%22"
                    title="Extension that brings clearer file icons.">VS Code Icons for PDDL files</a> to quickly
                distinguish PDDL files
                <button onclick="installIcons()">Install icons e.g.
                    <img src="file_type_pddl.svg" class="fileIcon" title="Icon of domain and problem files." />
                    <img src="file_type_pddl_plan.svg" class="fileIcon" title="Icon for plan files." />
                    <img src="file_type_pddl_happenings.svg" class="fileIcon" title="Icon for happenings files." />
                </button>
            </td>
        </tr>
        <tr id="enableIconsAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Enable VS Code Icons extension to quickly distinguish PDDL files
                <button onclick="enableIcons()">Enable icons e.g.
                    <img src="file_type_pddl.svg" class="fileIcon" title="Icon of domain and problem files." />
                    <img src="file_type_pddl_plan.svg" class="fileIcon" title="Icon for plan files." />
                    <img src="file_type_pddl_happenings.svg" class="fileIcon" title="Icon for happenings files." />
                </button>
            </td>
        </tr>
        <tr id="enableAutoSaveAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>When processing files using command-line tools, it is simpler to enable file auto-saving.
                <button onclick="postCommand('command:workbench.action.toggleAutoSave')" class="alertButton" style="width: 150px">Enable auto-save</button>
                <br />It is also recommended to go run the <i>Git: Initialize Repository</i> command to enjoy safety of
                version control and never miss a working version.
            </td>
        </tr>
        <tr id="downloadValAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Download the latest
                <a href="https://dev.azure.com/schlumberger/ai-planning-validation">build</a> of
                <a href="https://github.com/KCL-Planning/VAL">VAL tools</a> to get a PDDL parser, to be able to validate and
                evaluate plans.
                <button onclick="downloadValInformed(this)" class="alertButton" id="downloadValAlertButton"
                    title="Click to initiate download. You will be able to see what is being downloaded and from where...">Download</button>
                plan validation tools
            </td>
        </tr>
        <tr id="updateValAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>New version of
                <a href="https://github.com/KCL-Planning/VAL">VAL tools</a> is available.
                Update to the latest version.
                <button onclick="downloadValInformed(this)" class="alertButton" id="updateValAlertButton"
                    title="Click to initiate download..">Update VAL</button>
            </td>
        </tr>
        <tr id="enableFormatterAlert" class="alert">
            <td><i class="codicon codicon-bell-dot"></i></td>
            <td>Enable on-type formatter to save time and make your models readable without wasting time formatting whitespace.
                <button onclick="enableFormatOnType()" class="alertButton" title="Enable on-type formatting for all languages in VS Code">Enable On-Type Formatter</button>
                <button onclick="enableFormatOnTypeForPddlOnly()" title="Enable on-type formatting for PDDL only." class="alertButton">...for PDDL only</button>
                    <br/>
                You can switch it off again using the <snap class="code">editor.formatOnType</snap> setting. 
{'fraction_non_alphanumeric': 0.13679537476770598, 'fraction_numerical': 0.0024778030146603344, 'mean_word_length': 2.509782608695652, 'pattern_counts': {'":': 0, '<': 211, '<?xml version=': 0, '>': 211, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '492490', 'n_tokens_mistral': 2783, 'n_tokens_neox': 2636, 'n_words': 715}