Giter Site home page Giter Site logo

bd-contributions's Introduction

Fine-art photographer. Creative writer. Front-end developer.


bd-contributions's People

Contributors

notmorrow avatar thelastzombie avatar xibread avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

bd-contributions's Issues

Whitespaces are removed.

Whenever there are whitespaces in a codeblock it is removed.

Make a codeblock and put whitespaces in it.

BEFORE
image
AFTER
image

Additional Info

  • Plugin Name: Better Code Blocks
  • Discord Release: Stable
  • Platform: Windows

Edit: the whitespaces added in discord are just spaces.

Cannot open settings

Description

I can't open settings for the BetterCodeblocks plugin. Even after deleting it and installing it back

Reproduction Steps

Clicking on the settings icon

Screenshots

44

Additional Info

  • Plugin Name: BetterCodeblocks
  • Discord Release: Stable (Better discord)
  • Platform: PC

Plugin BetterCodeBlock not working

Description

Reproduction Steps

Screenshots

Additional Info

  • Plugin Name: Better Code Block
  • Discord Release:
  • Platform: Linux

Better code is not working for me... am i the probleme ?

image

LaTeX highlighting not showing up after sending message

Description

LaTeX is highlighted when writing/editing the message, but it is default after sending.

Reproduction Steps

use any LaTeX code.

Screenshots

image
image

Additional Info

  • Plugin Name: BetterCodeblocks
  • Discord Release: Stable
  • Platform: Win

Quickmessage not working

Description

Presing down arrow did nothing

Reproduction Steps

I write a msg send it and then press down key ; nothing happened

Screenshots

image

Additional Info

  • Plugin Name:
    QuickLastMessage v1.0.2

Windows 10 64bits
Ptb 135722 (6193b93)

codeToThemedTokens way too slow

codeToThemedTokens takes multiple seconds to run every single time it's invoked. This leads to scrolling through a channel with several codeblocks an exercise in patience because it can take literal minutes to scroll a few pages. Can you re-use the vanilla code highlightings or find a better algorithm?

A new Plugin suggestion

Plugin Name: QuickEditLastMessage

Reason/Use Cases: Instead of "QuickLastMessage" it'll make it so when you press the down key you edit your last message or perhaps add the option into "QuickLastMessage"

Thank you for your useful plugins

RedditMentions - simple regex issue

Description

The plugin thinks that the any pattern of r/something_here should be hyperlinked. This causes an edge case. See attached screenshot.

[id: the phrase "as a precursor/leadup to." The 'r' of "precursor," and the word "leadup" are highlighted.]
Screenshot from 2022-07-08 19-15-10

  • Plugin Name: RedditMentions
  • Discord Release: Stable

Quick messages not working

Description

Quick messages no longer work

Reproduction Steps

Send text to a channel
hit down arrow
notice text box is not filled with the last message

Additional Info

  • Plugin Name: quickMessages
  • Discord Release:
    -Stable

Better Code Blocks: First indent level is hidden

Description

Reproduction Steps

Write some code that has different levels of indent, wrap it in a code block, and send the message.

Screenshots

Input:
image

Vanilla:
image

Better code blocks:
image

Additional Info

  • Plugin Name: BetterCodeblocks
  • Discord Release: Stable
  • Platform: Linux

Multiline Comments

Doesn't play well with multiline comments - won't mark lines past the comment start as comments.

bettercodeblockscommentissue

BetterCodeblocks: Cannot open plugin settings.

Description

[Addon Settings] Unable to get settings panel for BetterCodeblocks. TypeError: e.slice is not a function
    at Object.t.hex2int (a9a865842245be0e7de5.js:2)
    at Function.hex2int (<anonymous>:36:23336)
    at new _e (<anonymous>:36:82535)
    at BetterCodeblocks.createColorPickers (<anonymous>:241:20)
    at BetterCodeblocks.getSettingsPanel (<anonymous>:142:16)
    at ot.showSettings (<anonymous>:4:203597)
    at Object.E (a9a865842245be0e7de5.js:2)

Reproduction Steps

Try to open the plugins settings for BetterCodeblocks.

Additional Info

  • Plugin Name: BetterCodeblocks
  • Discord Release: Stable
  • Platform: Linux

BetterCodeblocks v2.0.2: Crash when opening the parameters

Description

Crash when opening the parameters

Reproduction Steps

  1. Go to Discord settings
    image
  2. Click on “Plugins”
  3. Click on “Search Plugins”
  4. Write “BetterCodeblocks”
  5. Click on “Settings”
    image

Screenshots

image

image
When there is a crash

Logs

Click to expand!
BetterCodeblocks.plugin.js:93 Uncaught (in promise) TypeError: Cannot read property 'getHighlighter' of undefined
    at BetterCodeblocks.onStart (BetterCodeblocks.plugin.js:93)
    at BetterCodeblocks.start (0PluginLibrary.plugin.js:3945)
    at Object.startPlugin (<anonymous>:4:308019)
    at Object.startAddon (<anonymous>:4:307812)
    at Object.loadAddon (<anonymous>:4:268511)
    at Object.loadAddon (<anonymous>:4:305909)
    at Object.loadAllAddons (<anonymous>:4:270636)
    at Object.initialize (<anonymous>:4:265083)
    at Object.initialize (<anonymous>:4:305119)
    at Object.startup (<anonymous>:4:367198)
onStart @ BetterCodeblocks.plugin.js:93
start @ 0PluginLibrary.plugin.js:3945
startPlugin @ VM468:4
startAddon @ VM468:4
loadAddon @ VM468:4
loadAddon @ VM468:4
loadAllAddons @ VM468:4
initialize @ VM468:4
initialize @ VM468:4
startup @ VM468:4
async function (async)
startup @ VM468:4
(anonymous) @ VM468:4
(anonymous) @ VM468:4
(anonymous) @ VM468:4
(anonymous) @ VM468:9
e.startsWith.e.startsWith.WebFrame.<computed> @ VM75 renderer_init.js:89
(anonymous) @ VM75 renderer_init.js:117
(anonymous) @ VM75 renderer_init.js:101
emit @ VM14 events.js:315
onMessage @ VM75 renderer_init.js:93
77173695b440898444c7.js:130 Error: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=se for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
    at e (f0a07f5d58578e631209.js:5838)
    at Ba (f0a07f5d58578e631209.js:5849)
    at qa (f0a07f5d58578e631209.js:5854)
    at Xa (f0a07f5d58578e631209.js:5854)
    at $s (f0a07f5d58578e631209.js:5894)
    at Gu (f0a07f5d58578e631209.js:5884)
    at wu (f0a07f5d58578e631209.js:5884)
    at Uu (f0a07f5d58578e631209.js:5884)
    at yu (f0a07f5d58578e631209.js:5881)
    at f0a07f5d58578e631209.js:5826
    at t.unstable_runWithPriority (f0a07f5d58578e631209.js:6015)
    at Ki (f0a07f5d58578e631209.js:5826)
    at qi (f0a07f5d58578e631209.js:5826)
    at Xi (f0a07f5d58578e631209.js:5826)
    at Ue (f0a07f5d58578e631209.js:5903)
    at en (f0a07f5d58578e631209.js:5803)
    at HTMLDivElement.r (77173695b440898444c7.js:126)
(anonymous) @ 77173695b440898444c7.js:130
t.<computed> @ f0a07f5d58578e631209.js:4219
Es @ f0a07f5d58578e631209.js:5869
o.componentDidCatch.n.callback @ f0a07f5d58578e631209.js:5869
Eo @ f0a07f5d58578e631209.js:5829
gs @ f0a07f5d58578e631209.js:5871
Bu @ f0a07f5d58578e631209.js:5889
t.unstable_runWithPriority @ f0a07f5d58578e631209.js:6015
Ki @ f0a07f5d58578e631209.js:5826
Vu @ f0a07f5d58578e631209.js:5885
yu @ f0a07f5d58578e631209.js:5881
(anonymous) @ f0a07f5d58578e631209.js:5826
t.unstable_runWithPriority @ f0a07f5d58578e631209.js:6015
Ki @ f0a07f5d58578e631209.js:5826
qi @ f0a07f5d58578e631209.js:5826
Xi @ f0a07f5d58578e631209.js:5826
Ue @ f0a07f5d58578e631209.js:5903
en @ f0a07f5d58578e631209.js:5803
r @ 77173695b440898444c7.js:126

Additional Info

The plugin has been installed manually in %AppData%\BetterDiscord\plugins

  • Plugin Name: BetterCodeblocks v2.0.2
  • Discord Release: Stable
  • Platform: W10x64 21H1

Disable whitespace trimming

Description

  • Plugin Name: BetterCodeblocks

Please, make it so I can disable whitespace trimming in codeblocks

Reason/Use Cases

Sometimes people don't use codeblocks for code, and sometimes people will voluntarily put whitespace for better lisibility

Add disable for embed option

Description

  • Plugin Name: BetterCodeblocks

Add option for disabling this plugin for embeds.

Reason/Use Cases

This is useful because many bots use Codeblocks in embeds as an aesthetic option to style the embed. The style sometimes looks off when using this plugin.

Indentation is broken

Description

Reproduction Steps

Screenshots

Additional Info

  • Plugin Name:
  • Discord Release:
  • Platform:

No indentation

Description

The plugin removes all indentation from the code

Reproduction Steps

Look at code with indentation

Screenshots

image
image

Additional Info

  • Plugin Name: BetterCodeblocks
  • Discord Release: All
  • Platform: Windows

Support V language

Description

  • Plugin Name: BetterCodeblocks

Add support for V language (.v files). Currently .v files are seen as verilog, which I doubt is used much on Discord as it is. Verilog also has an addition extension of .vh while V does not.

Reason/Use Cases

V is gaining popularity and operates on Discord. It would be nice for those of us that use this plugin if it actually worked for that language.

Missing whitespace when copying codeblock contents

Description

New lines & (some) tabs are not copied to clipboard when a codeblock's content is copied.

This could be fixed multiple ways, but a favorable solution would be to add a "copy code" button on the codeblock.

Reproduction Steps

  1. Select all of the code in a codeblock
  2. Ctrl + C to copy it
  3. Ctrl + V in your favorite editor
  4. ???
  5. where are my newlines & (some) tabs?????
  • Plugin Name: BetterCodeblocks
  • Discord Release: Stable
  • Platform: Windows 11

RedditMentions broken

Description

The entire message is replaced by the Reddit hyperlink

Reproduction Steps

  1. Type Hello r/chat
  2. Entire message gets replaced by r/chat

Screenshots

Additional Info

  • Plugin Name: RedditMentions
  • Discord Release: Stable
  • Platform: Windows

Fixed in #45

Lines should break between words

A clear description of the issue
Line breaks currently can happen in the middle of a word if the lines are too long. This can look ugly and breaks the reader's flow. Lines should break between words so the flow is undisturbed.

Screenshots
image

Additional info

  • Codeblock language, if any: Shouldn't matter, but testing with none
  • Discord build & version: Stable 82866 (d02d7ca)
  • Platform: Windows 10 64-Bit (10.0.18362)
  • Plugin version: 1.2.0

Ummm.. how do i put this

literally just doesn't work. idk how to put it any other way. no issues or anything its just as if its not even there. pressing down arrow only highlights chat messages and items and stuff and doesn't bring me to my last message

counts twice

the plugin counts the lines twice, once with a bit of space and once with like "snapped to the line" as it should be
Screenshot 2021-03-25 13:10:44

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.