Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

HTML Attribute Code Hinting problems #5343

@redmunds

Description

@redmunds

I'm seeing several weird problems with HTML Code Hinting. Start with a doc like this:

<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
</head>
<body>

</body>
</html>

Add a link tag and some attributes:

  1. Put cursor at end of line with <title></title> and hit Enter to create a new line.
  2. Type <link rel="stylesheet"

Results:
I got hints for first attribute, but no more hints, even if I press Ctrl+Space

Expected:
More attribute hints

  1. Continue by typing > at end of line and moving cursor before >.
  2. Press Ctrl-Space to invoke hints
  3. Select dir and press Enter

Results:
Attribute is added with empty value, followed by a newline!

<link rel="stylesheet" dir=""
      >

Expected:
No newline. Cursor is placed inside attribute value and hints for value are displayed.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions