GithubHelp home page GithubHelp logo

maikotan / cactbot-highlight Goto Github PK

View Code? Open in Web Editor NEW
15.0 2.0 1.0 5.99 MB

A VSCode extension for developing cactbot modules.

Home Page: https://marketplace.visualstudio.com/items?itemName=MaikoTan.cactbot-highlight

License: Other

TypeScript 100.00%
cactbot cactbot-highlight timeline snippets vscode ffxiv advanced-combat-tracker vsix highlight final-fantasy-xiv visual-studio-code trigger

cactbot-highlight's Introduction

Cactbot Highlight

Visual Studio Market Downloads Open VSX Version Open VSX Downloads

Build Lint Test

A VSCode extension for developing cactbot modules.

Features

Raidboss Timeline

Syntax Highlight

If you didn't see the syntax highlight in your timeline files, please check the FAQ.

Time Adjustment

adjust-time

Translation Validation

translate-timeline.gif

To use this feature, you should make sure your active file is a valid timeline file or trigger file that there are a valid timeline file which has the same name in the same directory, also make sure you are in the cactbot repository.

Click the Translate Current Timeline button on the top-right corner to translate the active file.

Raidboss Triggers

Code Snippets

Snippet Example
ca-r-init
initiate a complete trigger set
import ZoneId from '../../../../../resources/zone_id'
import { RaidbossData } from '../../../../../types/data'
import { TriggerSet } from '../../../../../types/trigger'

export type Data = RaidbossData

const triggerSet: TriggerSet<Params> = {
  zoneId: ZoneId.TheBindingCoilOfBahamutTurn4,
  timelineFile: 't13.txt',
  timelineTriggers: [],
  triggers: [],
  timelineReplace: [],
}

export default triggerSet
ca-r-timeline-trigger
initiate a timeline trigger
{
  id: 'T13 Phase 2',
  regex: /Regex/,
  beforeSeconds: 5,
}
ca-r-trigger
initiate a trigger
{
  id: 'T13 Gigaflare',
  type: 'Ability',
  netRegex: NetRegexes.ability({ }),
},
ca-r-timeline-replace
initiate a timeline replace section
{
  'locale': 'de',
  'replaceSync': {},
  'replaceText': {},
},
ca-r-timeline-replace-all
initiate timeline replace
sections with all languages
{
  'locale': 'en',
  'replaceSync': {},
  'replaceText': {},
},
{
  'locale': 'de',
  'missingTranslations': true,
  'replaceSync': {},
  'replaceText': {},
},
// ...
{
  'locale': 'ko',
  'missingTranslations': true,
  'replaceSync': {},
  'replaceText': {},
},

FAQ

You can find the FAQ in FAQ.md.

Localisation

This extension supports multi-language.

Translators are listed below. Thanks for your contribution!

If you want to add a new language, or contribute to the existing ones, please visit our project on Crowdin.

If you want to add a new language, you should make sure that the language is supported by VSCode officially. You can search for the language name in the Extensions Marketplace, or access microsoft/vscode-loc to see if your language is supported or not.

Contributing

See CONTRIBUTING.md

License

This project is licensed under the MIT license, see LICENSE for more detail.

cactbot-highlight's People

Contributors

dependabot[bot] avatar maikotan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

batusonmez

cactbot-highlight's Issues

command not found error

K-002
Error from command 'Translate Timeline To ...' (command 'cactbot.timeline.translateTimeline' not found) occured

I use market place version, v0.1.0
Just in case, I have tried remove - restart - install - restart - test command.
This happened on every timeline text file.

my settings.json

{
    "files.associations": {
        "*.txt": "cactbot-timeline"
    },
    "cactbot.timeline.defaultLocale": "ko",
}

Even though I removed "cactbot.timeline.defaultLocale": "ko", this happens again.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.