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

Doctrine Section -- Change CodeBlock terminal to CodeBlock console#12060

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Closed
TheGarious wants to merge1 commit intosymfony:4.3fromTheGarious:patch-3

Conversation

@TheGarious
Copy link
Contributor

In Symfony Docs if you use code block terminal the text color change "New property name (press " is different to "to stop adding fields):"

Example :https://symfony.com/doc/current/doctrine.html#creating-an-entity-class

With code block console this color difference is not applied.

In Symfony Docs if you use code block terminal the text color change  "New property name (press <return>" is different to "to stop adding fields):" Example :https://symfony.com/doc/current/doctrine.html#creating-an-entity-classWith code block console this color difference is not applied.
@TheGariousTheGarious changed the titleChange terminal for consoleChange CodeBlock terminal to CodeBlock consoleJul 30, 2019
@TheGariousTheGarious changed the titleChange CodeBlock terminal to CodeBlock consoleDoctrine Section -- Change CodeBlock terminal to CodeBlock consoleJul 30, 2019
@OskarStarkOskarStark added this to the4.3 milestoneJul 31, 2019
@javiereguiluz
Copy link
Member

Gary, thanks for reporting this problem. Sadly this is not the only place where this kind of errors happen. The real problem is the "lexer" we use to detect "console prompts". We're trying to fix this in#12067.

@TheGarious
Copy link
ContributorAuthor

Ok, but i change in few page this code block terminal with code block console.

@javiereguiluz
Copy link
Member

I'm not sure, but I thinkterminal andconsole are treated the same.bash is similar but different (we usebash for.env files because they shouldn't be displayed inside a terminal).

@TheGarious
Copy link
ContributorAuthor

When i use CodeBlock Console i don't have this problem of CodeBlock Terminal.

@javiereguiluz
Copy link
Member

Yes, I just saw the difference. Both look the same ... except precisely for the prompt. "terminal" highlights prompts to make them unselectable, whereas "console" doesn't do that. We strongly prefer to useterminal because of that behavior (people in the community asked us to make prompts not selectable to simplify copy+pasting code). So, let's wait and see if#12067 fixes the problem. Thanks.

@TheGarious
Copy link
ContributorAuthor

Ok good, but one or two pr, i changed this. :(

@TheGarious
Copy link
ContributorAuthor

@javiereguiluz I close this pr ?

@javiereguiluz
Copy link
Member

Let's keep it open a bit longer until we confirm that this has been fixed by the other pull request. Thanks.

TheGarious reacted with thumbs up emoji

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@javiereguiluzjaviereguiluzAwaiting requested review from javiereguiluz

Assignees

No one assigned

Projects

None yet

Milestone

4.3

Development

Successfully merging this pull request may close these issues.

4 participants

@TheGarious@javiereguiluz@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp