Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

IntelliJ plugin that lets you fold methods in Ruby & Javascript

NotificationsYou must be signed in to change notification settings

G-Rath/fold-call-blocks-plugin

Repository files navigation

IntelliJ plugin that lets you fold call blocks like region tags,using the first argument of said call blocks as the placeholder text:

const fn = <T>(p: T) => p;describe('top-level', () => {  describe('when passed a number', () => {    const value = 1;    it('returns a number', () => {      expect(typeof fn(value)).toBe('number');    });    it('returns the passed value', () => {      expect(fn(value)).toBe(value);    });  });  describe('when passed a boolean', () => {    const value = true;    it('returns a boolean', () => {      expect(typeof fn(value)).toBe('boolean');    });    it('returns the passed value', () => {      expect(fn(value)).toBe(value);    });  });  describe('when passed a string', () => {    const value = "hello world";    it('returns a string', () => {      expect(typeof fn(value)).toBe('string');    });    it('returns the passed value', () => {      expect(fn(value)).toBe(value);    });  });});

folding example

About

IntelliJ plugin that lets you fold methods in Ruby & Javascript

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp