VSCode RMMV snippet (awesome tricks)

Discussion in 'Useful Development Tools' started by Jonforum, Jul 20, 2017.

  1. Jonforum

    Jonforum Veteran Veteran

    Messages:
    1,595
    Likes Received:
    1,382
    Location:
    Canada / Qu├ębec
    First Language:
    French
    Primarily Uses:
    RMMV
    I just discovered the customization of snippet in VSCode.
    It's really wonderful.
    I was wondering if there were any members who would already be working on a snippet list
    I share you mine. It is not complete.
    But I think a moderator or a motivating member can make something awesome here.
    This snippet automatically writes the primary class with these subclasses in commentary :thumbsup-left:
    aefvaeg34ae.jpg

    how to add
    go to
    File->preference->userCode
    and tape javascript + [Enter]

    copy past this json in the new windows open.
    PHP:
    //rmmv
        
    "$dataActors": { "prefix""$dataActors",
        
    "body": [ "// .battlerName .id .classId .initialLevel .characterName",
            
    "$dataActors[$1]."]
        },
        
    "$dataArmors": { "prefix""$dataArmors",
        
    "body": [ "// .atypeId .id .name .price .iconIndex",
            
    "$dataArmors[$1]."]
        },
        
    "$dataMap": { "prefix""$dataMap",
        
    "body": [ "// .bgm .bgs .data[] .disableDashing .displayName .events[] .height .width .parallaxSx .parallaxSy .scrollType",
            
    "$dataMap.$1"]
        },
        
    "$dataTilesets": { "prefix""$dataTilesets",
        
    "body": [ "// .flags .id .mode .name .note .tilesetNames",
            
    "$dataTilesets[$1]."]
        },
        
    "$gameMap": { "prefix""$gameMap",
        
    "body": [ "// ._displayX ._displayY ._events[] ._interpreter ._mapId ._needsRefresh ._parallaxSx ._parallaxSy ._parallaxX ._parallaxY ._parallaxZero ._scrollDirection ._scrollRest ._scrollSpeed ._tilesetId",
            
    "$gameMap._$1"]
        },
        
    "$gamePlayer": { "prefix""$gamePlayer",
        
    "body": [ "// ._animationCount ._animationId ._animationPlaying ._balloonPlaying ._cframes ._characterIndex ._direction ._newMapId ._newX ._newY ._realX ._realY ._transferring ._transparent ._x ._y",
            
    "$gamePlayer._$1"]
        },
        
    "$gameScreen": { "prefix""$gameScreen",
        
    "body": [ "// ._pictures[] ._brightness ._fadeInDuration ._fadeOutDuration ._flashColor[] ._shake ._shakeDirection ._shakeDuration ._zoomDuration ._zoomScale ._zoomScaleTarget ._zoomX ._zoomY",
            
    "$gameScreen._$1"]
        },
        
    "$gameSystem": { "prefix""$gameSystem",
        
    "body": [ "// ._saveCount ._saveEnabled ._versionId ._battleBgm ._bgmOnSave ._framesOnSave ._savedBgm",
            
    "$gameSystem$1._"]
        },
        
    "$gameTemp": { "prefix""$gameTemp",
        
    "body": [ "// ._commonEventId ._destinationX ._destinationY ._isPlaytest ",
            
    "$gameTemp$1._"]
        },
        
    "$system": { "prefix""$system",
        
    "body": [ "// ._filterName[] ._sceneActivity ._systemBusy .hack .hud .menu .pixiStyle .scopePidHud[] .scopePidMenu[] .systemTimer",
            
    "$system$1._"]
        }
     
    #1
    Black Mamba and Kino like this.

Share This Page