XCode Style "MARK" Separator Comments

Overview

Mark Meta Comments

This extension emulates XCode's // MARK: - comment decorations.

A MARK comment separating one section of code from the next.

Theme: Sequoia Moonlight

Installation

Install it from the VSCode Marketplace

Usage

Just write // MARK: Foo or to get a regular mark comment (without the horizontal separator) or // MARK: - Foo to get the horizontal separator.

Any other word or combination of words can be put instead of MARK, like

// SECTION: - Foo

// SEE ALSO: - Bar

# PYTHON COMMENTS: - Also work!

Todo:

  • Add minimap decorators
  • Add "Go To Symbol" feature
  • Allow # comments

Contributing

Found a bug? Want a feature?

Feel free to open a new GitHub issue or start a new Pull Request!

You might also like...

How to write your own JS/TS codemods, with comments and resources

simple-codemod-script This is an example of how to write your own codemod scripts using babel and recast. There are comments throughout the code expla

Feb 9, 2022

Tasty is a website that displays a number of recipes and allows users to leave likes and comments on their favourite meals.

Tasty is a website that displays a number of recipes and allows users to leave likes and comments on their favourite meals.

Tasty Tasty is a website that displays a number of recipes and allows users to leave likes and comments on their favourite meals. Requirements Build a

Aug 3, 2022

In this project we build a TVSeries website using Javascript, HTML, CSS and the TVMAze API. Each movie list on the page has a like and comments feature

MicroFLIX This project is a development about TV series, we fetched all data from TVmaze API, Users can like movies and also give a comment. All data

Jul 25, 2022

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

Runs sfdx-scanner on a pull request and generates in-line comments with the findings.

sfdx-scan-pull-request Runs sfdx-scanner on a pull request and generates in-line comments with the findings. Inputs category Categor(ies) of rules to

Jan 7, 2023

Cross-browser plugin to remove addictive features on YouTube like thumbnails, comments, previews and more...

Cross-browser plugin to remove addictive features on YouTube like thumbnails, comments, previews and more...

ZenTube Installation Features Remove some (more) elements from Youtube to make it less addictive. Mix and match between the following options: Hide or

Dec 17, 2022

HN Notifier is a chrome extension that shows the number of unread comments to your HackerNews thread

HN Notifier is a chrome extension that shows the number of unread comments to your HackerNews thread

HN Notifier is a chrome extension that shows the number of unread comments to your HackerNews thread. One of the issues with HackerNews is that it is difficult to know when someone has replied to your post or comment, thus by missing an opporunity to continue the conversation.

Oct 22, 2022

A full-stack social media application where users can post and share their coding projects, adding friends, and joining the discussion in threaded comments on project posts.

A full-stack social media application where users can post and share their coding projects, adding friends, and joining the discussion in threaded comments on project posts.

CodeFlow Description CodeFlow is a social media application where users can post and share their coding projects with others. By logging in or signing

Dec 8, 2022

Generator of interlinear glossing for many mark-up languages. Conlanging.

Gloss My Gloss A generator for interlinear glosses This is an input/output generator for aligning linguistic interlinear gloss, for the purposes of co

Nov 16, 2022

"To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as complete. It is created with HTML , CSS , JS and webpack and NPM.

My Todo List "To-do list" is a tool that helps to organize your day. It simply lists the things that you need to do and allows you to mark them as com

Mar 29, 2022
Comments
  • Support #pragma mark

    Support #pragma mark

    Please add the support to "#pragma mark - MARK" style marks if possible:

    const pragmaMarkRegex =
      /^\#pragma mark - (.*)$/gm;
    
    match = null;
    while ((match = pragmaMarkRegex.exec(text))) {
      const startPos = activeEditor.document.positionAt(match.index);
      const endPos = activeEditor.document.positionAt(
        match.index + match[0].length
      );
    
      const decoration = {
        range: new vscode.Range(startPos, endPos),
      };
    
      lineMarks.push(decoration);
      marksBold.push(decoration);
    }
    
    opened by ttsshh1990 4
  • Does this show in the minimap?

    Does this show in the minimap?

    Hi, thanks for a great contribution!

    I'm wondering how to get this extension to show my MARK: comments so that I can read them in the minimap? That's what I thought this extension would do? Do I need to change any settings in order for it to work?

    Best regards, Karl

    opened by thyselius 0
Owner
everdrone
@mutex.lock on Instagram
everdrone
Small (fragile) script for migrating comments from dev.to posts to Wordpress format (WXR/XML)

dev-to-wxr Small (fragile) script for migrating comments from dev.to posts to Wordpress format (WXR/XML). Useful for importing in tools like disqus. U

Fahad Hossain 2 Jan 29, 2022
Prototype of real-time comments and a proposal of how to make it "production-ready".

Real-time comments prototype Simple demonstration of real-time commenting. Installation After forking it, run npm install, then you need two environme

Tiger Abrodi 3 Jan 16, 2022
đŸ¤– GitHub Action which creates Issues from comments in your code

todo-issue[action] Disclosure Huge thanks to JasonEtco! After he decided to shut down his todo[bot] I've looked around for alternatives but decided to

Julian 17 Dec 11, 2022
Kyrillos Hany 14 Aug 10, 2022
Simple web app that fetches posts and comments from jsonplaceholder

Simple web app that fetches posts and comments from jsonplaceholder

Paulo Luan 2 Mar 24, 2022
Dokka plugin to render Mermaid graphics, from your code comments to your Dokka documentation.

Html Mermaid Dokka plugin Mermaid-Dokka MermaidJS 0.2.2 8.14.0 0.3.0 9.0.0 Step 1: install dependencies { dokkaPlugin("com.glureau:html-mermaid-dokk

Grégory Lureau 23 Sep 16, 2022
Rent-A Movie is a website based on movie renting. The user can leave likes, comments or make reservations for movies they would like to rent. Made using tvMaze API, Involvement API, HTML, SASS and JavaScript

Rent-A Movie "Rent-A Movie" is a website for movie renting where you can make reservations, add comments & likes or just get details about movies that

Zeeshan Haider 19 Aug 23, 2022
Write and read comments on every page with a simple plug-in for your browser

Licom - comments on every webpage Licom is a simple plugin for your browser that adds the feature to leave comments on every page, even if it doesn't

Sebastian Korotkiewicz 45 Aug 4, 2022
Example implementation of having Google-Docs like comments

lexical-comments Example implementation of having Google-Docs like comments in https://lexical.dev . Main ingredient that makes this possible is Comme

Jeet Mandaliya 21 Dec 24, 2022