Title: Missing the f-prefix on an f-string is hard to notice · Issue #65 · vim-python/python-syntax · GitHub
Open Graph Title: Missing the f-prefix on an f-string is hard to notice · Issue #65 · vim-python/python-syntax
X Title: Missing the f-prefix on an f-string is hard to notice · Issue #65 · vim-python/python-syntax
Description: As python 3.6 gave us f-strings it's I've been using them more over the ol' .format() syntax. Sadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or .format suffix. The third statement ("{hel...
Open Graph Description: As python 3.6 gave us f-strings it's I've been using them more over the ol' .format() syntax. Sadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or .f...
X Description: As python 3.6 gave us f-strings it's I've been using them more over the ol' .format() syntax. Sadly, the syntax is highlighting strings that have curly braces but have neither f-string ...
Opengraph URL: https://github.com/vim-python/python-syntax/issues/65
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Missing the f-prefix on an f-string is hard to notice","articleBody":"As python 3.6 gave us f-strings it's I've been using them more over the ol' `.format()` syntax.\r\n\r\nSadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or `.format` suffix.\r\n\r\n\r\n\r\nThe third statement (`\"{hello}\"`) shouldn't show the curly brace because that is not doing anything fancy with the string. It's just a string.\r\n\r\nThis might lead me as a developer to miss putting the f-prefix before a string, as the curly braces are giving an indication that they are treated as some sort of templates.\r\n\r\nAny thoughts on this?","author":{"url":"https://github.com/Lilja","@type":"Person","name":"Lilja"},"datePublished":"2020-03-26T22:46:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":5},"url":"https://github.com/65/python-syntax/issues/65"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:860f4f50-fd68-9423-ce64-63d0f72af3ab |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D3FA:1DC121:EE312D:1323336:696C072F |
| html-safe-nonce | 5ffe37a85d2812d1032e0093a0c5bb7681b21ae6350c102e16c79f4441a2ce4c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEM0ZBOjFEQzEyMTpFRTMxMkQ6MTMyMzMzNjo2OTZDMDcyRiIsInZpc2l0b3JfaWQiOiI2OTg1NjAzODAxNDg5ODY4NTkxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 686870bbe36c3cc615a234a88cec86f1053ec79da9210c3268d1066ac7f2d415 |
| hovercard-subject-tag | issue:588773519 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/vim-python/python-syntax/65/issue_layout |
| twitter:image | https://opengraph.githubassets.com/60e23f52be175570edb594ad93fafb4e8463d741f0b245bec1fe980d1b6a4432/vim-python/python-syntax/issues/65 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/60e23f52be175570edb594ad93fafb4e8463d741f0b245bec1fe980d1b6a4432/vim-python/python-syntax/issues/65 |
| og:image:alt | As python 3.6 gave us f-strings it's I've been using them more over the ol' .format() syntax. Sadly, the syntax is highlighting strings that have curly braces but have neither f-string prefix or .f... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | Lilja |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/vim-python/python-syntax git https://github.com/vim-python/python-syntax.git |
| octolytics-dimension-user_id | 25825542 |
| octolytics-dimension-user_login | vim-python |
| octolytics-dimension-repository_id | 82203847 |
| octolytics-dimension-repository_nwo | vim-python/python-syntax |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 82203847 |
| octolytics-dimension-repository_network_root_nwo | vim-python/python-syntax |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width