sharjeelyunus/github-issues-dataset huggingface dataset:
Repository: TypeScript
Issue: New JSX attribute completion style option "equalSign"
Labels: Suggestion,Awaiting More Feedback

# Suggestion

The setting `typescript.preferences.jsxAttributeCompletionStyle` has the options `auto`, `braces` and `none`. A fourth stye `equalSign` or similar would be great that completes the attribute with a `=` after it.

The `auto` option doesn't work that well for me and `braces` is often also not correct. But i always (except for boolean attributes) need a `=` - i can then decide if i want quotation marks or braces.

## 🔍 Search Terms

<!--
  💡 Did you know? TypeScript has over 2,000 open suggestions!
  🔎 Please search thoroughly before logging new feature requests as most common ideas already have a proposal in progress.
  The "Common Feature Requests" section of the FAQ lists many popular requests: https://github.com/Microsoft/TypeScript/wiki/FAQ#common-feature-requests

  Replace the text below:
-->

`jsxAttributeCompletionStyle` `attribute completion` `complete equal sign`

## ✅ Viability Checklist

<!--
   Suggestions that don't meet all these criteria are very, very unlikely to be accepted.
   We always recommend reviewing the TypeScript design goals before investing time writing
   a proposal for ideas outside the scope of the project.
-->
My suggestion meets these guidelines:

* [x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
* [x] This wouldn't change the runtime behavior of existing JavaScript code
* [x] This could be implemented without emitting different JS based on the types of the expressions
* [x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
* [x] This feature would agree with the rest of [TypeScript's Design Goals](https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals).


## ⭐ Suggestion

A new option for the setting `typescript.preferences.jsxAttributeCompletionStyle` called "equalSign" or similar that auto completes attributes with an equal sign if they are not boolean.

## 📃 Motivating Example

The `auto` option does not work very well for example for `className` where you would want braces if you use CSS modules or something similar that is not just a string.

It happens very often with the `auto` option that i delete the autocompleted braces or quotation marks.

## 💻 Use Cases

It would make my dev experience with VS Code better.
Repository: flutter
Issue: [Web] uses significant memory for rendering large Images
Labels: engine,platform-web,a: images,perf: memory,has reproducible steps,browser: safari-macos,P2,browser: chrome-desktop,found in release: 2.8,found in release: 2.9,team-web,triaged-web

After upgrading to 2.5.3 from 1.25.0-8.3.pre, Image.network is consuming significant memory for large images (in the range of 2MB)  and does not seem to release it. It is more pronounced in Macs and the issue happens both on Chrome and Safari - although Safari is significantly worse - consuming upto 5 times more memory than the old version of flutter. At times this results in "ImageCodecException: Failed to decode image data." due to out of memory.
How has the Image decoding changed in the new version for flutter web and is there any workaround for this, as I cannot upgrade with this issue.
Sample code that demonstrates this behaviour in different versions

<details>
<summary>code sample</summary>

```dart
import 'package:flutter/material.dart';

void main() {
 runApp(MyApp()); 
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: Material(
          child: MyHomePage(

      )),
    );
  }
}

class MyHomePage extends StatelessWidget {
  final items = [
    'https://i.imgur.com/hpDwuaB.jpg',
    'https://i.imgur.com/juAZVdN.jpg',
    'https://i.imgur.com/25x3sIy.jpg',
    'https://i.imgur.com/rla20Wd.jpg',
    'https://i.imgur.com/VE1uNFc.jpg',
    'https://i.imgur.com/BCi348n.jpg',
    'https://i.imgur.com/Gwuvg4n.jpg',
    'https://i.imgur.com/iEm8x21.jpg',
    'https://i.imgur.com/hOqFXfD.jpg',
    'https://i.imgur.com/X86STdr.jpg',
    'https://i.imgur.com/cVKvbi5.jpg'
  ];

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Web Image List'),
      ),
      body: 
          ListView.builder(
        cacheExtent: 175,
        itemCount: items.length,
        itemBuilder: (context, index) {
          return Center(
            child: Padding(
              padding: const EdgeInsets.all(8.0),
              child: Container(
                height: 150,
                width: 200,
                decoration: BoxDecoration(
                    border: Border.all(color: Colors.grey),
                    borderRadius: BorderRadius.all(Radius.circular(5))),
                child: Image.network(items[index]),
              ),
            ),
          );
        },
      ),
    );
  }
}
```
</details>
Repository: go
Issue: x/tools/gopls: warn about standard library API usage based on Go version
Labels: FeatureRequest,gopls,Tools

With 1.18 (which adds [`types.Config.GoVersion`](https://go.dev/issue/46648)), we'd like to better support a workflow that uses gopls built at a recent version of Go to develop projects that target running at an older version of Go.

#50688 is necessary but not sufficient: setting `types.Config.GoVersion` will not catch usage of standard library APIs that were added in later Go versions. We need to add additional diagnostics to gopls.

The right way to do this is probably via an analyzer that has a flag configuring its target language version. This makes it easier for users to eventually leverage this functionality outside of gopls, or turn it of/on within gopls.

High level idea:
 - Add a new analyzer (initially in `x/tools/internal/lsp/analysis`) that reports usage of standard library APIs that do not exist at a target language version. It can read from `GOROOT/api` to build the list of accepted APIs.
 - Either infer the target language version for a package from `go.mod`, or (more likely) expose a setting to configure it.  Unlike for `types.Config.GoVersion`, reading `go.mod is probably not good enough here, because IIRC the Go command does not enforce restrictions on standard library API use, so we would disagree. Perhaps we should not have a `gopls`-specific configuration option, but rather expose a more general pattern for configuring analyzer flags.
Repository: rust
Issue: Tracking Issue for maybe_uninit_as_bytes
Labels: T-libs-api,C-tracking-issue

<!--
Thank you for creating a tracking issue!

Tracking issues are for tracking a feature from implementation to stabilization.

Make sure to include the relevant RFC for the feature if it has one.

If the new feature is small, it may be fine to skip the RFC process. In that
case, you can use use `issue = "none"` in your initial implementation PR. The
reviewer will ask you to open a tracking issue if they agree your feature can be
added without an RFC.
-->

Feature gate: `#![feature(maybe_uninit_as_bytes)`

This is a tracking issue for APIs which allow access to individual bytes of a `MaybeUninit<T>`. This is always safe even for padding bytes since the bytes are themselves represented as `MaybeUninit<u8>`.

<!--
Include a short description of the feature.
-->

### Public API

<!--
For most library features, it'd be useful to include a summarized version of the public API.
(E.g. just the public function signatures without their doc comments or implementation.)
-->

```rust
// core::mem

impl<T> MaybeUninit<T> {
    pub fn as_bytes(&self) -> &[MaybeUninit<u8>];
    pub fn as_bytes_mut(&mut self) -> &mut [MaybeUninit<u8>];
}

impl<T> [MaybeUninit<T>] {
    pub const fn as_bytes(&self) -> &[MaybeUninit<u8>];
    pub const fn as_bytes_mut(&mut self) -> &mut [MaybeUninit<u8>];
}
```

### Steps / History

<!--
For larger features, more steps might be involved.
If the feature is changed later, please add those PRs here as well.
-->

- [x] Implementation: #89747
- [ ] Make slice methods inherent: https://github.com/rust-lang/rust/pull/129259
- [ ] Final comment period (FCP)
- [ ] Stabilization PR

<!--
Once the feature has gone through a few release cycles and there are no
unresolved questions left, the feature might be ready for stabilization.

If this feature didn't go through the RFC process, a final comment period
(FCP) is always needed before stabilization. This works as follows:

A library API team member can kick off the stabilization process, at which point
the rfcbot will ask all the team members to verify they agree with
stabilization. Once enough members agree and there are no concerns, the final
comment period begins: this issue will be marked as such and will be listed
in the next This Week in Rust newsletter. If no blocking concerns are raised in
that period of 10 days, a stabilzation PR can be opened by anyone.
-->

### Unresolved Questions

<!--
Include any open questions that need to be answered before the feature can be
stabilised. If multiple (unrelated) big questions come up, it can be a good idea
to open a separate issue for each, to make it easier to keep track of the
discussions.

It's useful to link any relevant discussions and conclusions (whether on GitHub,
Zulip, or the internals forum) here.
-->

- None yet.
Repository: flutter
Issue: SelectableText.rich semantics on the web create an empty `<textarea>`
Labels: framework,a: accessibility,platform-web,P2,team-web,triaged-web

```dart
          const SelectableText.rich(
            TextSpan(
              children: [
                TextSpan(
                  text: siteTitle,
                  style: TextStyle(fontWeight: FontWeight.bold),
                ),
                TextSpan(text: _intro),
                TextSpan(text: '\n\n'),
                TextSpan(
                  text: _cya,
                  style: TextStyle(fontStyle: FontStyle.italic),
                ),
              ],
            ),
          )
```

Renders as
![image](https://user-images.githubusercontent.com/17034/150212065-ade4841a-f5d8-4055-a008-97a724c8394b.png)

Corresponding semantic bits...
![image](https://user-images.githubusercontent.com/17034/150211778-5ba3702e-b46a-4c8a-814e-6f13c8c32772.png)


Would expect there to be text content ~matching the provided text.
Repository: flutter
Issue: Scaffold children have no IntrinsicHeight?
Labels: framework,f: material design,d: api docs,team-design,triaged-design

We encountered an odd layout bug, and I'm not sure if this is expected:

Wrapping a `Scaffold` in an `IntrinsicHeight` causes nothing to be shown:
```
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Center(
        child: IntrinsicHeight(
            child: Scaffold(
                body: Center(
          child: MyWidget(),
        ))),
      ),
    );
  }
}
```

Remove the `InstrinsicHeight` and the text shows properly.

` Flutter (Channel stable, 2.8.1`
Repository: node
Issue: FSWatch  / readdirSync Crash with more of 20K OR 2k Files Oneshot
Labels: fs,windows

### Version

Node 16 (Compiled with PKG 5.5

### Platform

Windows 10 21H2

### Subsystem

?

### What steps will reproduce the bug?

List with readdirSync one directory with more of 2K Files. In my case, 20K fail the process of listing.

### How often does it reproduce? Is there a required condition?

the code 
```js
readdirSync(a.dir).map((file) =>{
                  
                            fileToTXT(a.dir+file, LogFileNameRespwn)
                        })
```
with readdir the same thing happens

### What is the expected behavior?

node:events:371
      throw er; // Unhandled 'error' event
      ^

Error: UNKNOWN: unknown error, watch
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:204:21)
Emitted 'error' event on FSWatcher instance at:
    at FSEvent.FSWatcher._handle.onchange (node:internal/fs/watchers:210:12) {
  errno: -4094,
  syscall: 'watch',
  code: 'UNKNOWN',
  filename: null
}


### What do you see instead?

nop

### Additional information

_No response_
Repository: ant-design
Issue: 给Menu组件横向增加响应式
Labels: 💡 Feature Request,Inactive

- [ ] I have searched the [issues](https://github.com/ant-design/ant-design/issues) of this repository and believe that this is not a duplicate.

### What problem does this feature solve?
Menu响应式用的非常多  别的UI框架都有了  希望antd可以跟进   有了这个功能后就不用再手搓响应式了

### What does the proposed API look like?
缩小屏幕后右边有个bar框 点击出垂直菜单框  与主流的workflow一致即可

![image](https://user-images.githubusercontent.com/71044359/150231288-c6abbebf-9009-4b84-893f-49823e353a80.png)
![image](https://user-images.githubusercontent.com/71044359/150231346-d50faade-4ea2-41a6-a935-c359b5c6e38c.png)



<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->
Repository: godot
Issue: Softbody's rotation isn't accessible
Labels: topic:physics,topic:3d

### Godot version

3.4.2.stable 

### System information

WIndows 10,GLES 3

### Issue description

I've created a softbody with a sphere (from blender)  as a child node of KinematicBody 

![4](https://user-images.githubusercontent.com/31368513/150231433-a1f4b9a7-3b9d-4586-8467-ff5b1c2a2c04.png)

when I start the program, everything's fine and as expected!

![Screenshot 2022-01-19 235018](https://user-images.githubusercontent.com/31368513/150231490-c8322ffd-880d-4a8e-8bdc-a772b91001f9.png)

but when I make my ball jump, the softbody is rotating


![2](https://user-images.githubusercontent.com/31368513/150231522-a40c77ca-bb55-49e2-8e6a-cc0cbfa4182f.png)


I can't lock the rotation, neither can I see which node is actually rotating.. all transforms in the editor (remote) are at standard values

![3](https://user-images.githubusercontent.com/31368513/150231598-dac4a347-3f4a-43c8-ba76-6e2710023181.png)




### Steps to reproduce

attached project
worlds/world1.tscn - run

space to jump

### Minimal reproduction project

[Kurt2.zip](https://github.com/godotengine/godot/files/7901047/Kurt2.zip)
Repository: vscode
Issue: Windows: Error auto-updating x64 version on ARM64
Labels: bug,help wanted,install-update,windows

I noticed that when I use "Check for Updates..." on ARM64 Windows (Surface Pro X), using VS Code Insiders 1.64.0, it appears to download something then pops up an error message with:

![Screenshot 2022-01-19 150231](https://user-images.githubusercontent.com/49173979/150232389-61ab4781-a2e4-470b-b42d-4a9d03e805fe.png)

Perhaps there was a publishing issue causing the wrong architecture to be associated.

--------

Version: 1.64.0-insider (user setup)
Commit: c6e58d126f6b5676242e32b34180b2a595f29b51
Date: 2022-01-14T05:19:33.429Z
Electron: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000
Repository: PowerToys
Issue: [Run] Plugin weighting
Labels: Idea-Enhancement,Product-PowerToys Run,Run-Plugin Manager

### Description of the new feature / enhancement

Allow for changing the order in which types of results are presented in powertoys run. Manually change the priority of the plugins so that certain ones appear at the top.

### Scenario when this would be used?

This would optimise workflow and allow users to prioritise the plugins they use more frequently by having them at the top of the results list.

### Supporting information

_No response_
Repository: TypeScript
Issue: Missing IntelliSense suggestions in a partial mapped generic argument
Labels: Suggestion,Help Wanted,Domain: Completion Lists,Experience Enhancement

# Bug Report
The issue I'm facing is missing IntelliSense suggestions inside the inline object argument of a function which accepts a generic extending the partial of a mapped type. (Wow, that sentence was a doozy, no worries code sample below)

### 🔎 Search Terms

IntelliSense, Generic, Partial, Optional , Mapped, Function, Parameter, Argument, Object

### 🕗 Version & Regression Information

I'm using 4.5.4 
Seems to be working in 4.3.5 on the playground.

### ⏯ Playground Link
[Playground link with relevant code](https://www.typescriptlang.org/play?ts=4.5.4#code/C4TwDgpgBA8gTgSwOYIHYEMA2UC8UDeAUFCVGHAPZgCMAXFMHAK4QA0xp5VATPQM6M0SQgF9ChUJCgBZdGEgATXAQDaABUpgoaKAGsIICgDNYiFBmzo+UAAZIIwACT4AwnITAsCAF4QAPAKIqEhQAGRQGlQAfCI2ALr08MhoWOqacSIA3OIKEADGmOhw0EZMqHnACBSoUEYUFH4AKlAQAB7AEKgK1mpFlVh+svIQClFRABRUldV89I0AlPQAbhQICtmEdRTjRAD0u1AuTHB8FHBQABYQxWSYEFYQovOZQA)

### 💻 Code

```typescript
type Original = {
    prop1: true,
    prop2: string
}

type Mapped = {[Prop in keyof Original as `get${Capitalize<string & Prop>}`]: Original[Prop]};

declare function foo<T extends Partial<Mapped>>(options: T): void;

foo({
/* cursor */
});
```

### 🙁 Actual behavior

1. No (relevant) suggestion on CTRL + SPACE
2. Suggestion on typing correct prefix ("get") of either parameter 
3. After setting said parameter correctly neither CTRL + SPACE nor typing gives another suggestion

### 🙂 Expected behavior

CTRL + SPACE (hopefully) would always give suggestion for allowed/fitting/legal properties
Repository: TypeScript
Issue: Import autocomplete in jsdoc removes everything after the import.
Labels: Bug,Help Wanted,Domain: JSDoc


*TS Template added by @mjbvz*

**TypeScript Version**: 4.5.4

**Search Terms**
- `completionInfo`
- completions
- suggestions

---


<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- VS Code Version: `1.63.0`
- OS Version: `macOS 11.6.1 (20G224)`

Steps to Reproduce:

1. Download and unzip [replaced_text.zip](https://github.com/microsoft/vscode/files/7697203/replaced_text.zip)
2. Open `foo.js`
3. Place your caret on line 5 and press `ctrl` + `space`
4. Autocomplete with `bar.js`

https://user-images.githubusercontent.com/2737650/145680370-4003354b-99a9-4909-8651-5f817b8beced.mov
Repository: TypeScript
Issue: Preference setting to see more direct import labels in context menu
Labels: Suggestion,Awaiting More Feedback

*TS Template added by @mjbvz*

**TypeScript Version**: 4.5.4

**Search Terms**
- code actions
- quick fixes
- add missing import

---

<!-- ⚠️⚠️ Do Not Delete This! feature_request_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- Please search existing issues to avoid creating duplicates. -->

<!-- Describe the feature you'd like. -->

TL;DR
I would appreciate a setting which would allow me to see simplified, less verbose import commands in the `cmd-.` context menu.

----

Currently the menu items are very verbose, changing their description depending on whether other symbols had been imported from the same package.

If this were your first import from 'rxjs', you would see something like:
`import 'switchMap' from module 'rxjs'`

If there had been other symbols imported from this library before:
 `Add 'switchMap' to existing import declaration from "rxjs"`

My preference would be to always see the final import command instead:
`import { switchMap } from 'rxjs'`

I personally don't care if this command would be precise in describing the current state, or not, I would just prefer to see a clear  import statement for the symbol I am focused on. 

Verbose commands make me eye-hunt the command and put some mental micro-burden on reading and understanding the command. Seeing a very direct and "constant" import statement will immediately pop into my eye.
Repository: go
Issue: cmd/go,os: build cache checksum errors in x/tools/cmd/callgraph.TestCallgraph on windows/arm64
Labels: OS-Windows,NeedsInvestigation,Tools,arch-arm64

```
--- FAIL: TestCallgraph (11.99s)
    main_test.go:85: err: exit status 1: stderr: go build pkg: loading compiled Go files from cache: reading srcfiles list: cache entry not found: bad checksum
        
    main_test.go:100: got:
         <root> --> pkg.init
        pkg.main2 --> (pkg.D).f
        pkg.main --> pkg.main2
        pkg.main --> (pkg.C).f
        <root> --> pkg.main
        
    main_test.go:100: got:
         (*os.File).setDeadline --> (*os.File).checkValid
        (time.Time).IsZero --> (*time.Time).sec
        (time.Time).IsZero --> (*time.Time).nsec
        internal/poll.setDeadlineImpl --> (time.Time).IsZero
…
FAIL
FAIL	golang.org/x/tools/cmd/callgraph	12.869s
```
`greplogs --dashboard -md -l -e 'reading srcfiles list: cache entry not found: bad checksum' --since=2021-01-01`

[2022-01-19T20:29:36-7c251d6-9de1ac6/windows-arm64-10](https://build.golang.org/log/2d6f994aec163b15719691b5f5a4931b37c26bb7)
[2021-11-02T15:54:27-058ed05-c3cb1ec/windows-arm64-10](https://build.golang.org/log/f229d04baea19a9c95404fb174c2babc93a6cc9d)
[2021-11-01T13:50:47-513e3fb-4a84298/windows-arm64-10](https://build.golang.org/log/0da1efd0a45cf38cb912bb70593c6993f5530172)
[2021-10-14T17:38:39-e69ba9d-011fd00/windows-arm64-10](https://build.golang.org/log/d348b66038fba54eaa1297d20a1935252152d5b1)
[2021-09-14T02:53:17-384e5da-ee91bb8/windows-arm64-10](https://build.golang.org/log/43f140004b6c00e91aad2b9bf70dcceceadd14d1)
Repository: vscode
Issue: [iPadOS] Can't use shortcuts to copy/paste a line in editor
Labels: bug,help wanted,editor-clipboard,ios-ipados

<!-- ⚠️⚠️ Do Not Delete This! bug_report_template ⚠️⚠️ -->
<!-- Please read our Rules of Conduct: https://opensource.microsoft.com/codeofconduct/ -->
<!-- 🕮 Read our guide about submitting issues: https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions -->
<!-- 🔎 Search existing issues to avoid creating duplicates. -->
<!-- 🧪 Test using the latest Insiders build to see if your issue has already been fixed: https://code.visualstudio.com/insiders/ -->
<!-- 💡 Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. -->
<!-- 🔧 Launch with `code --disable-extensions` to check. -->
Does this issue occur when all extensions are disabled?: Yes

<!-- 🪓 If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. -->
<!-- 📣 Issues caused by an extension need to be reported directly to the extension publisher. The 'Help > Report Issue' dialog can assist with this. -->
- Version: 1.63.2
- Commit: 899d46d82c4c95423fb7e10e68eba52050e30ba3

It seems like `vscode` handovers copy/paste/cut to browser. However, action `Copy Line Down/Up` works as expected. 

**Steps to Reproduce:**

1. Open [monaco-editor](https://microsoft.github.io/monaco-editor/) or [vscode.dev](vscode.dev).
2. Create a new file and enter some text.
3. Copy/Cut/Paste without selection:
    3.1. by stroking `cmd + c/x/v` with an external keyboard.
    3.2. from `workbench.action.showCommands`.
    3.3. from right-click menu.

**Expected behaviour:**

Copy/Cut/Paste the whole line.

**Actual behaviour:**

Copy/Cut won't work. Paste only works for clipboard item.