RiFi2k / format-html-in-php

Basically this vscode extension uses all your standard configurations for html formatting, and your standard configurations for format on save, etc. It more or less works exactly how vscode should already work as it pertains to HTML in PHP files.
The Unlicense
33 stars 6 forks source link

When format path was false. #35

Closed MarnusTainthong closed 4 years ago

MarnusTainthong commented 4 years ago
function edit_category(category_id) {
    $.ajax({
        type: "POST",
        url: "<?php echo site_url().$this->config->item('ctrl_path')."/Pos_setting/get_category_by_id/"; ?>",
        data: {category_id: category_id},
        dataType: "json",
        success: function(data) {
            // console.log(data);
            $("#category_id").val(data["category_id"]);
            $("#category_name_input").val(data["category_name"]);
        }
    });
}

this when not format

function edit_category(category_id) {
    $.ajax({
        type: "POST",
        url: "<?php echo site_url().$this->config->item('ctrl_path')." / Pos_setting / get_category_by_id / "; ?>",
        data: {
            category_id: category_id
        },
        dataType: "json",
        success: function(data) {
            // console.log(data);
            $("#category_id").val(data["category_id"]);
            $("#category_name_input").val(data["category_name"]);
        }
    });
}

this when user format

in url path is wrong. extension replace with space how to disable it.

This extension is very good can use for many languages (I use with HTML, PHP, CSS, Javascript, jQuery it was very good)

RiFi2k commented 4 years ago

Should be fixed in the latest bump for jsb to 1.12.0