Coder Social home page Coder Social logo

brackets-indent-softwraps's Introduction

๐Ÿ‘‹ Hello, my name is Dmitry

Website โ€ข LinkedIn โ€ข StackExchange โ€ข NPM โ€ข Tatoeba.org

I am a software developer, coding mostly webapps. Programming is both my job and hobby, but I am also interested in (natural) languages, cyber-security, astronomy, math, and art.

const scriptin = {
  name: "Dmitry Shpika", // [DMEE-tree SHPEE-kah]
  pronouns: ["he", "him"],
  education: [
    { specialty: "Software Engineering",
      type: "self-taught",
      experience: "12+ years" },
    { specialty: "IT Security",
      type: "degree",
      experience: "Occasional consulting and auditing" },
  ],
  hardSkills: {
    programming: [TypeScript, JavaScript, Kotlin, SQL, ShellScripts, Python],
    ui: [React, HTML, CSS, Tailwind, Bootstrap, MaterialUI, Figma],
    api: [GraphQL, REST, SOAP, RPC],
    buildTools: [Webpack, Vite, Gradle],
    graphics: [Canvas2D, Processing, P5js, SVG],
    testing: [TDD, BDD, Unit, E2E],
    ci: [Docker, GitHubActions, GitLabCI],
    other: [Parsing, WebScraping, XML],
    _outdated: [PHP, Java, jQuery, AngularJS], // In the past
  },
  softSkills: {
    teaching: "I like to explain complex topics in simple terms",
    learning: "Currently focusing on foreign languages",
    design: "Creating UIs using component libraries/frameworks, or from scratch",
    writing: `Technical and fiction.
              I've written 130+ answers on Stack Exchange,
              maybe 5-7 articles, dozens of readmes,
              countless Jira tickets,
              a few short novels and poems`,
  },
  hobbies: [Programming, Languages, Astronomy, Math, Art],
} satisfies SoftwareEngineer;

Check out my pinned repos ๐Ÿ‘‡

brackets-indent-softwraps's People

Contributors

giovannicalo avatar scriptin avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

brackets-indent-softwraps's Issues

subsequent indents do not factor in the gutter width

Pseudocode. There should be a 3-space gutter, and all indents should be 4 spaces:

   // this is not indented; the space to the left is the gutter
   foo { // this is not indented; the space to the left is the gutter
    bar { // this block's indent doesn't account for the gutter so appears unindented
        ...
    }
   } // this is not indented; the space to the left is the gutter

CLOSED

I am trying to create my own custom theme for Brackets.
One issue is that I created a package.json file and when I go to Extension Manager my theme wont show so I cant edit it and see the effects. After messing creating a theme.less file and editing that I tried to download it through a git repository because it wont let me download it through a zip'ed version of it. Ugh.
Any help is appreciated. I looked at another person who had the same error as in the title above, but on the StackOverflow site i did not understand any of the fixes, and how to do them. I am not a professional coder in any way.
Thanks, Coler234

Left padding of editor view

There is a problem with some designs, that specify a padding-left other than 0for #editor-holder .CodeMirror pre.

Could you please check for any existing padding on the element, and add that to the one you apply directly to the element? ๐Ÿ˜„
Screenshot

Tab after spaces may cause incorrect indentation

Reproduce:

  1. Open new blank document
  2. Switch to indentation with tabs, set tab width to 4
  3. Type <space>, then <tab>, then some long text, so it gets wrapped

Expected: Wrapped part has the same indentation as the 1st line

Actual: 1st line is indented by 4 spaces (visually), wrapped part is indented by 5

Explanation: Since there is 1 space in front of a tab, the tab doesn't take the full 4-space width, which is normal and expected behavior for tabs. But extension counts it as 1 + 1*4 = 5

Option to indent more?

This is a very nice addition to Brackets. Would it be possible to make it just a little better by allowing a preference to indent something more than the line above? For me, I'd like it to be one space more, but others may like even deeper indents.

Installation?

Is it possible to install this through the GUI? I can't seem to find it searching.

unexpected jump when selecting html tags

Hello, I'm not sure whether this "distortion jump" happens because of conflict with another extension(s), but I've quickly tested the most obvios ones, which enhance the Editor.

Demo
http://i.imgur.com/2RP28cz.gifv

Repro
Sketch a simple html file with an embedded to body tag, e.g. <p>. Fill this tag with a multiline text.
Tag should be now indented (child of body).
Click on the opening bracket of the tag "<".

Expected
No change in the soft-indenting.

Happens
Distortion (actually constriction/kerning) and jump of this tag to the beginning of the line.

Note
You could try to repro on the clean brackets Installation, I'll try that later when come to this if needed to pinpoint the bug.

simple html

<!DOCTYPE html>
<html>
<body>
            <div class="panel-body">
                <br/>
                <br/> Lorem ipsum dolor sit amet, consetetur sadipscing elitr, sed diam nonumy eirmod tempor invidunt ut labore et dol
            </div>
</body>
</html>

integration with other extension*s

Hello & thank you for the extension, wrapped strings look cleanier and nicer!

Is there a chance you could try to determine, whether "SpellCheck" extension interferes with the functionality of "indent-softwraps" and there is a way to fix it? Thanks.

Repro:
install spell-check (https://github.com/couzteau/SpellCheck)
install brackets-indent-softwraps.
write some multiline text of random letters to be "soft wrapped".
when text is soft-wrapped select text and run spellCheck (right click >> English e.g.).

Expected:
text highlighted on "misspelled" words", soft wrap intact.

What happens:
letters overlap:
2015-02-09 16_13_52-pages_loremipsum html website - brackets

Possible problem:
Both developers assume, that text is the same / original / not manipulated.

Possible solution:
Check before applying the action whether there was some text manipulation and either reset it (?) or restore it after (?)

CC: @couzteau
https://github.com/couzteau/SpellCheck

Extra indent for softwrapped line?

On softwraps, I'd like to have an option to replace default indent mode:

    <p>Lorem ipsum dolor sit amet, consectetur adipisicing |
    elit, sed do eiusmod tempor incididunt ut labore et    |
    dolore magna aliqua.</p>                               |
    <p>Ut enim ad minim veniam, quis nostrud exercitation  |
    <strong>ullamco laboris</strong> nisi ut aliquip ex ea |
    commodo consequat.</p>                                 |

...with such one (more visually convenient and inline hierarchy friendly):

    <p>Lorem ipsum dolor sit amet, consectetur adipisicing |
        elit, sed do eiusmod tempor incididunt ut labore et|
        dolore magna aliqua.</p>                           |
    <p>Ut enim ad minim veniam, quis nostrud exercitation  |
        <strong>ullamco laboris</strong> nisi ut aliquip ex|
        ea commodo consequat.</p>                          |

I.e., an option to add one more indent level to softwrapped line.

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.