Git Product home page Git Product logo

docs.sublimetext.io's People

Contributors

3dbloke avatar chid avatar deathaxe avatar eugenesvk avatar fichtefoll avatar guillermooo avatar iainhouston avatar keith-hall avatar kitzberger avatar lewisjellis avatar mirekkukla avatar nathany avatar nvtkaszpir avatar octavioamu avatar olls avatar parambirs avatar peterkagey avatar petrkryslucsd avatar pomeh avatar pranav-kale-01 avatar praveenscience avatar ronanmccoy avatar rreyv avatar serkanyersen avatar siva82kb avatar tehshrike avatar terminalfi avatar themilkman avatar ultra-instinct-05 avatar zoli avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

docs.sublimetext.io's Issues

New chapter about "arithmetics"

Stumbled upon this cool yet undocumented feature yesterday:

  • Create multiple selections
  • ctrl + shift + p and enter "Arithmetic"
  • enter an expression like:
    • 1+i to create numbers like 1,2,3,4,5,6,7,8,9,...
    • 30+(i%3) to create numbers like 30,31,32,30,31,32,33,...

Using as browser search engine

The searchbar in the website isn't queriable via address URIs, so I can't add the docs as a search engine on my chromium browser.

Sure would be nice if I could. It's a basic feature most docs do support.

Broken characters on completions page

Steps to reproduce

  1. In Firefox 104.0
  2. Navigate to https://docs.sublimetext.io/guide/extensibility/completions.html#how-to-use-completions

Actual behavior:

Characters render incorrectly, leaving the reader confused.

Screen Shot 2022-08-28 at 8 28 36 AM

Expected behavior:

  1. The characters should display properly
  2. When characters fail to display the content should still be readable

Completions can be inserted in two ways:

  • Through the completions list. Note: the completions list can be activated by pressing control and spacebar (Ctrl ␣), or
  • by pressing the foo key (f).

Dev server requires a lot of restarts

When working on the initial config.js, I had to restart the local dev server a lot because vuepress couldn't handle the config changes it appeared. I don.t think there is an immediate solution to that, but I wanted to track it as an issue for myself at least.

The vuepress devs have been working on vite and vitepress for a while, which is probably worth monitoring, as it follows the same principles but promises to work on exactly these pain points of vue.

Google Analytics

What
Should we update the Google Analytics setup for this? Or should we remove it.

  1. Do we care about how people are locating the website?
  2. Do we want to track the amount of traffic that we are experiencing?
<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-20962303-1']);
  _gaq.push(['_setDomainName', '.sublimetext.info']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>

Update `save` command

Nice work on these docs. It looks like the save command is outdated. When looking in my console with sublime.log_commands(True), it has an additional argument:

command: save {"async": true}

How to open tabs for editing files?

I have just installed Sublime Text 3 on Windows 10. After opening a folder, my simple mind cannot figure out the criteria used by ST3 to open new tabs for files: I am able to browse through my source code with the various goto anywhere, symbols, etc (fantastic), but I cannot open two tabs with two files.

Better said: I can.

  • If I select a file f1 in a folder and a file f2 in another folder, the ST3 open two tabs, one per file.
  • If I have one tab and modify the content, then I can open a new file.

But: how can I open, for example, three different tabs without modifying any of them? If I open a file in a folder and do not modify it, all the other files in the same folder are assigned to the same tab of the first file.

I looked for this information both on the official website and here, but could not find any info.

Please don't get upset if the question is too silly, but -really- I got exhausted trying to figure out the algorithm.

Unable to escape regex open bracket '{' in tmPreferences

I'm currently working on a custom syntax, and editing the tmPreferences. When defining increaseIndentPattern regex, it includes an open bracket {. I attempt to escape it with \ however sublime throws an error:

error loading meta info from Packages/User/goku.tmPreferences: Expected element key.

Even copy + paste from sublime docs into tmPreferences throws the error.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>name</key>
  <string>Goku Preferences</string>
  <key>scope</key>
  <string>source.goku</string>
  <key>settings</key>
  <dict>
      <key>increaseIndentPattern</key>
      <string>\:\w+\s?\{</string>
  </dict>
  <dict>
    <key>shellVariables</key>
    <array>
      <dict>
        <key>name</key>
        <string>TM_COMMENT_START</string>
        <key>value</key>
        <string>; </string>
      </dict>
      <dict>
        <key>name</key>
        <string>TM_COMMENT_START_2</string>
        <key>value</key>
        <string>;*</string>
      </dict>
      <dict>
        <key>name</key>
        <string>TM_COMMENT_END_2</string>
        <key>value</key>
        <string>*;</string>
      </dict>
       <dict>
        <key>name</key>
        <string>TM_COMMENT_DISABLE_INDENT</string>
        <key>value</key>
        <string>no</string>
      </dict>
    </array>
  </dict>
  <key>uuid</key>
  <string>4ce04eed-6bf9-43db-81c8-576fdcbe5dca</string>
</dict>
</plist>

How does the First Plugin example work?

Referring to file - https://github.com/sublimetext-io/docs.sublimetext.io/blob/master/docs/guide/extensibility/plugins/README.md

The first plugin section asks the reader to save the file as hello_world.py.
Names the class - ExampleCommand.
Runs the command - view.run_command('example')

How does sublime connect the string 'example' with the file hello_world.py and class ExampleCommand? Isn't clear how this mapping is happening. Can it be clarified? Thanks!

'clear_recent_files' command not working

Default.sublime-commands

[
    { "caption": "Open Recent: Clear Recent Files", "command": "clear_recent_files" },
]

Default (Windows).sublime-keymap

{ "keys": ["ctrl+k", "ctrl+h"], "command": "clear_recent_files" },

Update anchors to API reference

The API reference has been updated and uses a different format now.

  1. Methods now have anchors that can be targetted directly.
  2. Methods of base classes are now documented at that base clase instead of in every subclass.

Notably the Input Handlers guide has a couple links that needs to be updated.

Contributors grid broke

We used to have a grid of contributors on the landing page with their GitHub avatar & user name. After the latest dependency bump & build fixes (today), this list is now very much empty.

No automatic glossary references in vitepress

With the switch to vitepress, we lost the automatic glossary plugin and I haven't found a proper replacement yet. Since the tokens that used the glossary feature are still in the docs (searchable using :[\w_]+:), we ought to either replace them manually with direct links into the glossary or use a custom markdown-it plugin to replace these links with what we want.

Symbol Scope to Kind Mapping

Not sure where to put this in, but creating an issue so it isn't forgotten.


Following is the current state of internal scope to kind mapping (for symbols)

keyword:
    keyword
    storage.modifier
    storage.type
    keyword.declaration
    variable.language
    constant.language
type:
    entity.name.type
    entity.name.class
    entity.name.enum
    entity.name.trait
    entity.name.struct
    entity.name.impl
    entity.name.interface
    entity.name.union
  weak:
    support.type
    support.class
function:
    entity.name.function
    entity.name.method
    entity.name.macro
    meta.method entity.name.function
  weak:
    support.function
    meta.function-call variable.function
    meta.function-call support.function
    suport.method
    meta.method-call variable.function
namespace:
    entity.name.module
    entity.name.namespace
  weak:
    support.module
    support.namespace
navigation:
    entity.name.definition
    entity.name.label
    entity.name.section
markup:
    entity.other.attribute-name
    entity.name.tag
    meta.toc-list.id.html
variable:
    entity.name.constant
  weak:
    constant.other
    support.constant
    variable.other
    variable.parameter
    variable.other.member
    variable.other.readwrite.member

The weak inferences factor other things into the match, since those tend to be callsites instead of definitions

via Discord

Provide a font with our "exotic" key symbols

The Key component uses various unicode symbols to represent the keys as they are commonly printed on keyboards for improved visualization. We should ensure that the glyphs we use are available to the client system by providing a font that includes them

See #19 and #64 for reports of this with .

Reference `chain` command

It's hard to find any info about built-in chain command. Would be useful to include it in the reference.

Chromium on Linux does not render bold text

On my machine (Arch Linux), neither Chromium nor Vivaldi render bold text. The CSS selectors set font-weight: 500 (links) or 600 (string tags) respectively, but they are rendered like normal text. This also applies to headings such as h5, which is by the way even smaller than the normal text size and that really shouldn't happen.

The same problem also exists in the default vuepress theme, so it's likely an upstream issue, but I wanted to track it regardless until I find out which upstream repo I should take this to.

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.